Taskbar: code cleanup

This commit is contained in:
o9000
2016-01-08 23:43:53 +01:00
parent d08606dc93
commit 92bd9e9184
9 changed files with 117 additions and 143 deletions

View File

@@ -75,7 +75,7 @@ gboolean window_is_hidden(Window win)
// do not add transient_for windows if the transient window is already in the taskbar
window = win;
while (XGetTransientForHint(server.display, window, &window)) {
if (task_get_tasks(window)) {
if (get_task_group(window)) {
XFree(at);
return TRUE;
}