add comment about XGetWA

This commit is contained in:
Julien Danjou 2008-01-07 14:11:14 +01:00
parent a1205efc20
commit 44e6edf4d1
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ scan()
real_screen = screen; real_screen = screen;
for(i = 0; i < num; i++) for(i = 0; i < num; i++)
{ {
/* XGetWindowAttributes return 1 on success */
if(!XGetWindowAttributes(globalconf.display, wins[i], &wa) if(!XGetWindowAttributes(globalconf.display, wins[i], &wa)
|| wa.override_redirect || wa.override_redirect
|| XGetTransientForHint(globalconf.display, wins[i], &d1)) || XGetTransientForHint(globalconf.display, wins[i], &d1))