1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

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 <spolyack@collaborativefusion.com>
This commit is contained in:
Joe Marcus Clarke 2009-02-25 22:04:57 +00:00
parent 4684488d86
commit a48caf676a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229053
4 changed files with 34 additions and 2 deletions

View File

@ -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%/ \

View File

@ -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");
}

View File

@ -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%/ \

View File

@ -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");
}