all repos — tint2 @ f81e1b2e90ffa09949a4650ca72351cb21e943ed

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

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
commit

f81e1b2e90ffa09949a4650ca72351cb21e943ed

parent

a3177fadd9b4e1ea6d29b85141adee68c16d84a6

1 files changed, 4 insertions(+), 6 deletions(-)

jump to
M src/util/window.csrc/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; }