diff options
Diffstat (limited to 'rMD-exp')
-rw-r--r-- | rMD-exp/src/poll_damage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rMD-exp/src/poll_damage.c b/rMD-exp/src/poll_damage.c index 1f53349..9bf7ee2 100644 --- a/rMD-exp/src/poll_damage.c +++ b/rMD-exp/src/poll_damage.c @@ -62,7 +62,7 @@ void *PollDamage(void *pdata){ XNextEvent(((ProgData *)pdata)->dpy,&event); if (event.type == MapNotify ){ XWindowAttributes attribs; - if (XGetWindowAttributes (((ProgData *)pdata)->dpy, + if (!((XMapEvent *)(&event))->override_redirect && XGetWindowAttributes (((ProgData *)pdata)->dpy, event.xcreatewindow.window, &attribs)){ if (!attribs.override_redirect && attribs.depth==((ProgData *)pdata)->specs.depth) |