X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fscreenhack.c;h=5432711d3112f8f75558b7b4f9df1dc63bad3fc6;hp=79a58cde9792e2d0c5fdcf29403742d11c69e1cc;hb=e4fa2ac140f7bc56571373a7b7eb585fa4500e38;hpb=96a411663168b0ba5432b407a83be55f3df0c802 diff --git a/hacks/screenhack.c b/hacks/screenhack.c index 79a58cde..5432711d 100644 --- a/hacks/screenhack.c +++ b/hacks/screenhack.c @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1992, 1995, 1997, 1998, 2001, 2002, 2003 +/* xscreensaver, Copyright (c) 1992, 1995, 1997, 1998, 2001, 2002, 2003, 2004 * Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its @@ -534,9 +534,9 @@ main (int argc, char **argv) screen = xgwa.screen; visual_warning (screen, window, visual, cmap, True); - /* Select KeyPress events on the external window. + /* Select KeyPress and resize events on the external window. */ - xgwa.your_event_mask |= KeyPressMask; + xgwa.your_event_mask |= KeyPressMask | StructureNotifyMask; XSelectInput (dpy, window, xgwa.your_event_mask); /* Select ButtonPress and ButtonRelease events on the external window,