summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/setbrwindow.c
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-06-01 14:55:56 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-06-01 14:55:56 +0000
commiteb482deb0b5a4ce9c84df580c71a5c7ba82eece1 (patch)
treebd5f19fead46ce52adb0e9ca7198009772de5905 /recordmydesktop/src/setbrwindow.c
parentb657b97f3a72407b295797476c064744ca66fd33 (diff)
setbrwindow.c: preserve windowid in brwin struct (do not overwrite with root window)
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@342 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/setbrwindow.c')
-rw-r--r--recordmydesktop/src/setbrwindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/recordmydesktop/src/setbrwindow.c b/recordmydesktop/src/setbrwindow.c
index 936e3fc..143cf45 100644
--- a/recordmydesktop/src/setbrwindow.c
+++ b/recordmydesktop/src/setbrwindow.c
@@ -151,7 +151,7 @@ int SetBRWindow(Display *dpy,
&transl_x,
&transl_y,
&wchid);
- brwin->windowid=specs->root;
+
brwin->geom.x=attribs.x-transl_x;
brwin->geom.y=attribs.y-transl_y;
brwin->geom.width=attribs.width;
© All Rights Reserved