Making xzoom compile again. One DRAW_FRAME() was still there. - xzoom - A simple screen magnifier for X11. (DIR) Log (DIR) Files (DIR) Refs --- (DIR) commit 1d68dfeb236f1004821dfc5d4c1ed1a495bd8e99 (DIR) parent 70e39234df46dd6066bbc5c9b060a448e8509474 (HTM) 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: xzoom.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) --- (DIR) 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 } }