tried better transient window git-svn-id: http://tint2.googlecode.com/svn/trunk@194 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
lorthiois@bbsoft.fr lorthiois@bbsoft.fr@121b4492-b84c-0410-8b4c-0d4edfb3f3cc
1 files changed,
4 insertions(+),
6 deletions(-)
jump to
M
src/util/window.c
→
src/util/window.c
@@ -79,15 +79,13 @@ Window window;
Atom *at; int count, i; - if (XGetTransientForHint(server.dsp, win, &window) != 0) { - if (window) { - return 1; - } - } - at = server_get_property (win, server.atom._NET_WM_STATE, XA_ATOM, &count); for (i = 0; i < count; i++) { if (at[i] == server.atom._NET_WM_STATE_SKIP_TASKBAR) { + XFree(at); + return 1; + } + if (at[i] == server.atom._NET_WM_STATE_MODAL) { XFree(at); return 1; }