From 44e6edf4d15249f8ef1fd949b41572803735b44f Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 7 Jan 2008 14:11:14 +0100 Subject: [PATCH] add comment about XGetWA --- awesome.c | 1 + 1 file changed, 1 insertion(+) diff --git a/awesome.c b/awesome.c index 5511d2b67..b23261f67 100644 --- a/awesome.c +++ b/awesome.c @@ -73,6 +73,7 @@ scan() real_screen = screen; for(i = 0; i < num; i++) { + /* XGetWindowAttributes return 1 on success */ if(!XGetWindowAttributes(globalconf.display, wins[i], &wa) || wa.override_redirect || XGetTransientForHint(globalconf.display, wins[i], &d1))