summaryrefslogtreecommitdiff
path: root/rMD-exp
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-10-30 01:15:39 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-10-30 01:15:39 +0000
commit2559b04e507ab14082b0d4004a7999f53cd25eaa (patch)
tree4fe03d81c23e0cfb2c4b74152517d1780882d6dd /rMD-exp
parent080ab1459d045b39fab0b024e17d4f640fcd33fe (diff)
event override redirect
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@130 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'rMD-exp')
-rw-r--r--rMD-exp/src/poll_damage.c2
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)
© All Rights Reserved