*fix* minor bugfixes
*fix* do not use g_ptr_array_unref since not everybody has glib-2.22 ;) git-svn-id: http://tint2.googlecode.com/svn/trunk@333 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user