From a48caf676af8e156daa493a4f447f36ff7fc2a82 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Wed, 25 Feb 2009 22:04:57 +0000 Subject: Fix a bug with applications not behaving correctly after XRandR events. Obtained from: http://bugzilla.gnome.org/show_bug.cgi?id=561583 Submitted by: Steve Polyack --- x11-toolkits/gtk20/Makefile | 2 +- x11-toolkits/gtk20/files/patch-gtk-561583 | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 x11-toolkits/gtk20/files/patch-gtk-561583 (limited to 'x11-toolkits/gtk20') diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index b547bb10d663..a50209f21134 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -8,7 +8,7 @@ PORTNAME= gtk PORTVERSION= 2.14.7 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \ ftp://ftp.gtk.org/pub/gtk/%SUBDIR%/ \ diff --git a/x11-toolkits/gtk20/files/patch-gtk-561583 b/x11-toolkits/gtk20/files/patch-gtk-561583 new file mode 100644 index 000000000000..f9a547805fcf --- /dev/null +++ b/x11-toolkits/gtk20/files/patch-gtk-561583 @@ -0,0 +1,16 @@ +--- gdk/x11/gdkscreen-x11.orig 2009-02-18 15:29:15.000000000 -0500 ++++ gdk/x11/gdkscreen-x11.c 2009-02-18 15:30:03.000000000 -0500 +@@ -915,11 +915,12 @@ + return; + #endif + ++ _gdk_x11_screen_process_monitors_change (screen); ++ + if (width == gdk_screen_get_width (screen) && + height == gdk_screen_get_height (screen)) + return; + +- _gdk_x11_screen_process_monitors_change (screen); + g_signal_emit_by_name (screen, "size_changed"); + } + -- cgit v1.2.3