XFree(at);
return 1;
}
- if (at[i] == server.atom._NET_WM_STATE_MODAL) {
- // do not add modal windows if the transient window is already in the taskbar
- if ( XGetTransientForHint(server.dsp, win, &window) && task_get_tasks(window) ) {
- XFree(at);
- return 1;
- }
+ // do not add transient_for windows if the transient window is already in the taskbar
+ if ( XGetTransientForHint(server.dsp, win, &window) && task_get_tasks(window) ) {
+ XFree(at);
+ return 1;
}
}
XFree(at);