X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fscreenhack.c;h=443d3f423745562b89165e8df92fa620caad08ec;hp=5a377233fc586dea7585232c266de7868c9c31d1;hb=de460e831dc8578acfa8b72251ab9346c99c1f96;hpb=6b1c86cf395f59389e4ece4ea8f4bea2c332745b diff --git a/hacks/screenhack.c b/hacks/screenhack.c index 5a377233..443d3f42 100644 --- a/hacks/screenhack.c +++ b/hacks/screenhack.c @@ -882,6 +882,8 @@ main (int argc, char **argv) window = VirtualRootWindowOfScreen (XtScreen (toplevel)); XtDestroyWidget (toplevel); XGetWindowAttributes (dpy, window, &xgwa); + /* With RANDR, the root window can resize! */ + XSelectInput (dpy, window, xgwa.your_event_mask | StructureNotifyMask); visual_warning (xgwa.screen, window, xgwa.visual, xgwa.colormap, False); } else