From ae69a754244c4e475c8d2591772ca8e005071d83 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 18 Feb 2019 11:55:41 +0100 Subject: Update to 5.42 --- driver/demo-Gtk.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'driver/demo-Gtk.c') 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); -- cgit v1.2.3-55-g7522