[gtk-osx] Add yet another patch for gtk+ 3.10.1
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-osx] Add yet another patch for gtk+ 3.10.1
- Date: Fri, 11 Oct 2013 23:31:33 +0000 (UTC)
commit 9f9ac6b146ab8688da582e164831e39011c9ea1b
Author: John Ralls <jralls ceridwen us>
Date: Fri Oct 11 16:30:25 2013 -0700
Add yet another patch for gtk+ 3.10.1
modulesets-stable/gtk-osx.modules | 1 +
patches/0001-Bug-709939-quartz-window-pos.patch | 17 +++++++++++++++++
2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/modulesets-stable/gtk-osx.modules b/modulesets-stable/gtk-osx.modules
index b177b32..49d9a3c 100644
--- a/modulesets-stable/gtk-osx.modules
+++ b/modulesets-stable/gtk-osx.modules
@@ -179,6 +179,7 @@
<patch
file="http://git.gnome.org/browse/gtk-osx/plain/patches/0004-Ensure-src-and-dest-are-GdkWindows-in-_gdk_sythesize.patch"
strip="1"/>
<patch
file="http://git.gnome.org/browse/gtk-osx/plain/patches/0003-Fix-double-free-introduced-in-f86dc163.patch"
strip="1"/>
<patch
file="http://git.gnome.org/browse/gtk-osx/plain/patches/0003-quartz-NULL-check-on-default-keymap.patch"
strip="1"/>
+ <patch
file="http://git.gnome.org/browse/gtk-osx/plain/patches/0001-Bug-709939-quartz-window-pos.patch" strip="1"/>
</branch>
<dependencies>
<dep package="glib"/>
diff --git a/patches/0001-Bug-709939-quartz-window-pos.patch b/patches/0001-Bug-709939-quartz-window-pos.patch
new file mode 100644
index 0000000..e895bc5
--- /dev/null
+++ b/patches/0001-Bug-709939-quartz-window-pos.patch
@@ -0,0 +1,17 @@
+diff --git a/gdk/quartz/gdkscreen-quartz.c b/gdk/quartz/gdkscreen-quartz.c
+index e83c87b..e28f3b2 100644
+--- a/gdk/quartz/gdkscreen-quartz.c
++++ b/gdk/quartz/gdkscreen-quartz.c
+@@ -208,7 +208,11 @@ _gdk_quartz_screen_update_window_sizes (GdkScreen *screen)
+ windows = gdk_screen_get_toplevel_windows (screen);
+
+ for (list = windows; list; list = list->next)
+- _gdk_quartz_window_update_position (list->data);
++ {
++ if (GDK_WINDOW_TYPE(list->data) == GDK_WINDOW_OFFSCREEN)
++ continue;
++ _gdk_quartz_window_update_position (list->data);
++ }
+
+ g_list_free (windows);
+ }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]