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:
parent
4684488d86
commit
a48caf676a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229053
@ -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%/ \
|
||||
|
16
x11-toolkits/gtk20/files/patch-gtk-561583
Normal file
16
x11-toolkits/gtk20/files/patch-gtk-561583
Normal 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");
|
||||
}
|
||||
|
@ -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%/ \
|
||||
|
16
x11-toolkits/gtk30/files/patch-gtk-561583
Normal file
16
x11-toolkits/gtk30/files/patch-gtk-561583
Normal 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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user