projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://packetstormsecurity.org/UNIX/admin/xscreensaver-3.31.tar.gz
[xscreensaver]
/
hacks
/
zoom.c
diff --git
a/hacks/zoom.c
b/hacks/zoom.c
index f6cb4b9c5b41e2c2daf6540b946cef6bc11cf0af..18a0bda8ae1499715dcb253cf8996332ae31c99f 100644
(file)
--- a/
hacks/zoom.c
+++ b/
hacks/zoom.c
@@
-100,6
+100,11
@@
static void init_hack(Display *dpy, Window window)
window_gc = XCreateGC(dpy, window, gcflags, &gcv);
grab_screen_image(xgwa.screen, window);
window_gc = XCreateGC(dpy, window, gcflags, &gcv);
grab_screen_image(xgwa.screen, window);
+
+ /* We might have needed this to grab the image, but if we leave this set
+ to GCSubwindowMode, then we'll *draw* right over subwindows too. */
+ XSetSubwindowMode (dpy, window_gc, ClipByChildren);
+
if (lenses) {
orig_map = NULL;
pm = XCreatePixmap(dpy, window, sizex, sizey, xgwa.depth);
if (lenses) {
orig_map = NULL;
pm = XCreatePixmap(dpy, window, sizex, sizey, xgwa.depth);