X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Futil%2Fwindow.c;h=f4ef6a04ac306277e46d6561a7cda780c150ef02;hb=080fb51e5d7f26a788f6fd85562807ca65ad5973;hp=06ab09359054e334aaedd5b100482a4e7d0072b0;hpb=7384187d2b17c567d1368349a9990f77e008067e;p=chaz%2Ftint2 diff --git a/src/util/window.c b/src/util/window.c index 06ab093..f4ef6a0 100644 --- a/src/util/window.c +++ b/src/util/window.c @@ -86,12 +86,10 @@ int window_is_hidden (Window win) 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);