*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:
Andreas.Fink85
2010-01-10 15:00:40 +00:00
parent c6ff59f9f7
commit a20eb44a28
5 changed files with 19 additions and 17 deletions

View File

@@ -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;
}