From eb482deb0b5a4ce9c84df580c71a5c7ba82eece1 Mon Sep 17 00:00:00 2001 From: iovar Date: Fri, 1 Jun 2007 14:55:56 +0000 Subject: 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 --- recordmydesktop/src/setbrwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recordmydesktop/src/setbrwindow.c') 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; -- cgit v1.2.3