commit 1d68dfeb236f1004821dfc5d4c1ed1a495bd8e99
parent 70e39234df46dd6066bbc5c9b060a448e8509474
Author: Christoph Lohmann <20h@r-36.net>
Date: Fri, 22 Nov 2013 15:20:32 +0100
Making xzoom compile again. One DRAW_FRAME() was still there.
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/xzoom.c b/xzoom.c
@@ -925,8 +925,11 @@ main(int argc, char **argv) {
if(!buttonpressed && delay > 0)
usleep(delay);
#ifdef FRAME
- if(buttonpressed) /* erase the frame */
- DRAW_FRAME();
+ if(buttonpressed) {
+ XDrawRectangle(dpy, RootWindowOfScreen(scr),
+ framegc, xgrab, ygrab, width[SRC]-1,
+ height[SRC]-1);
+ }
#endif
}
}