X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Futil%2Fwindow.c;h=285d525d8e15edbddf23964978ddbd724cafd4a7;hb=9920c62290bd174979c2e42cbc72070155a2a4ac;hp=caa293438e8cab0ab11a704048beaad5745b8dab;hpb=ea034ed97924271fbda23bd217984931605374e3;p=chaz%2Ftint2 diff --git a/src/util/window.c b/src/util/window.c index caa2934..285d525 100644 --- a/src/util/window.c +++ b/src/util/window.c @@ -88,7 +88,7 @@ int window_is_hidden (Window win) } 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_task(window) ) { + if ( XGetTransientForHint(server.dsp, win, &window) && task_get_tasks(window) ) { XFree(at); return 1; }