aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xscreensaver
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2003-09-09 18:52:36 +0800
committerdougb <dougb@FreeBSD.org>2003-09-09 18:52:36 +0800
commitf997bc29313494aa5dc92d791113c91469996965 (patch)
treeae524c599669c15c9e318fb7c8036851bd508519 /x11/xscreensaver
parentbeb78b3f927750db7b75eee5bebe6cfe6d8071f1 (diff)
downloadfreebsd-ports-gnome-f997bc29313494aa5dc92d791113c91469996965.tar.gz
freebsd-ports-gnome-f997bc29313494aa5dc92d791113c91469996965.tar.zst
freebsd-ports-gnome-f997bc29313494aa5dc92d791113c91469996965.zip
A hopefully temporary patch to isolate a gtk2-only function. The only
loss of functionality is the -geometry flag to xscreensaver-demo.
Diffstat (limited to 'x11/xscreensaver')
-rw-r--r--x11/xscreensaver/files/patch-driver_demo-Gtk.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11/xscreensaver/files/patch-driver_demo-Gtk.c b/x11/xscreensaver/files/patch-driver_demo-Gtk.c
new file mode 100644
index 000000000000..e310d876d70f
--- /dev/null
+++ b/x11/xscreensaver/files/patch-driver_demo-Gtk.c
@@ -0,0 +1,14 @@
+--- driver/demo-Gtk.c.orig Wed Sep 3 19:02:03 2003
++++ driver/demo-Gtk.c Tue Sep 9 03:14:32 2003
+@@ -4540,9 +4540,11 @@
+ free (window_title);
+ window_title = 0;
+
++#if 0
+ /* After picking the default size, allow -geometry to override it. */
+ if (geom)
+ gtk_window_parse_geometry (GTK_WINDOW (s->toplevel_widget), geom);
++#endif
+
+ gtk_widget_show (s->toplevel_widget);
+ init_icon (GTK_WIDGET (s->toplevel_widget)->window); /* after `show' */