summaryrefslogtreecommitdiffstats
path: root/driver/demo-Gtk.c
diff options
context:
space:
mode:
authorSimon Rettberg2019-02-18 11:55:58 +0100
committerSimon Rettberg2019-02-18 11:55:58 +0100
commitaa7530630e595b80d5db54655fd827b61edc0fd7 (patch)
tree048cb74072450c7592f254c3537ac8f252d09d73 /driver/demo-Gtk.c
parentForgot one DPMS killing instance (diff)
parentUpdate to 5.42 (diff)
downloadxscreensaver-23.tar.gz
xscreensaver-23.tar.xz
xscreensaver-23.zip
Merge branch 'master' into openslxv23
Diffstat (limited to 'driver/demo-Gtk.c')
-rw-r--r--driver/demo-Gtk.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/driver/demo-Gtk.c b/driver/demo-Gtk.c
index 0dfc387..ef00d82 100644
--- a/driver/demo-Gtk.c
+++ b/driver/demo-Gtk.c
@@ -3970,6 +3970,11 @@ launch_preview_subproc (state *s)
}
else
{
+ /* We do this instead of relying on $XSCREENSAVER_WINDOW specifically
+ so that third-party savers that don't implement -window-id will fail:
+ otherwise we might have full-screen windows popping up when we were
+ just trying to get a preview thumbnail.
+ */
strcpy (new_cmd, cmd);
sprintf (new_cmd + strlen (new_cmd), " -window-id 0x%X",
(unsigned int) id);