X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fgrab-ximage.c;h=0f718476e75d7b4e909b7f9b24e7622d74855e51;hp=fcf079ec9a672734e3409b6915f6a3bc9126ced8;hb=39809ded547bdbb08207d3e514950425215b4410;hpb=4361b69d3178d7fc98d0388f9a223af6c2651aba diff --git a/hacks/glx/grab-ximage.c b/hacks/glx/grab-ximage.c index fcf079ec..0f718476 100644 --- 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; - 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; - 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,