projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.38.tar.gz
[xscreensaver]
/
hacks
/
glx
/
grab-ximage.c
diff --git
a/hacks/glx/grab-ximage.c
b/hacks/glx/grab-ximage.c
index fcf079ec9a672734e3409b6915f6a3bc9126ced8..0f718476e75d7b4e909b7f9b24e7622d74855e51 100644
(file)
--- a/
hacks/glx/grab-ximage.c
+++ b/
hacks/glx/grab-ximage.c
@@
-665,9
+665,10
@@
load_texture_async (Screen *screen, Window window,
data->pix_height = xgwa.height;
data->pix_depth = xgwa.depth;
data->pix_height = xgwa.height;
data->pix_depth = xgwa.depth;
- if (desired_width && desired_width < xgwa.width)
+ /* Allow the pixmap to be larger than the window. Esper wants this. */
+ if (desired_width /* && desired_width < xgwa.width */)
data->pix_width = desired_width;
data->pix_width = desired_width;
- if (desired_height
&& desired_height < xgwa.height
)
+ if (desired_height
/* && desired_height < xgwa.height */
)
data->pix_height = desired_height;
data->pixmap = XCreatePixmap (dpy, window, data->pix_width, data->pix_height,
data->pix_height = desired_height;
data->pixmap = XCreatePixmap (dpy, window, data->pix_width, data->pix_height,