[gimp-macos-build/wip/Jehan/GDK-expose-too-much] FOR TEST. DO NOT PUSH!



commit 90c3c5c363e99f08b7a7c87f8bfd4f8d3aeb2698
Author: Jehan <jehan girinstud io>
Date:   Mon Feb 14 13:47:08 2022 +0100

    FOR TEST. DO NOT PUSH!

 modulesets/gtk-osx.modules                         |  1 +
 ...or-testing-and-making-sure-this-code-runs.patch | 28 ++++++++++++++++++++++
 2 files changed, 29 insertions(+)
---
diff --git a/modulesets/gtk-osx.modules b/modulesets/gtk-osx.modules
index d3a770e..110bbd8 100644
--- a/modulesets/gtk-osx.modules
+++ b/modulesets/gtk-osx.modules
@@ -290,6 +290,7 @@
            https://gitlab.gnome.org/GNOME/gtk/-/issues/3714 is closed, this can be removed -->
       <patch file="gtk-3.24.31-use-cairo-surface-for-drawing.patch" strip="1"/>
       <patch file="gtk3-gdk-in-Quartz-send-expose-events-for-individual-dama.patch" strip="1"/>
+      <patch file="gtk3-For-testing-and-making-sure-this-code-runs.patch" strip="1"/>
     </branch>
     <dependencies>
       <dep package="glib"/>
diff --git a/patches/gtk3-For-testing-and-making-sure-this-code-runs.patch 
b/patches/gtk3-For-testing-and-making-sure-this-code-runs.patch
new file mode 100644
index 0000000..76666a4
--- /dev/null
+++ b/patches/gtk3-For-testing-and-making-sure-this-code-runs.patch
@@ -0,0 +1,28 @@
+From ace41b349181d3a4d55af36548696f9e08f20781 Mon Sep 17 00:00:00 2001
+From: Jehan <jehan girinstud io>
+Date: Mon, 14 Feb 2022 13:45:06 +0100
+Subject: [PATCH] For testing and making sure this code runs.
+
+Do not push this!
+---
+ gdk/quartz/GdkQuartzView.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/gdk/quartz/GdkQuartzView.c b/gdk/quartz/GdkQuartzView.c
+index f3d630ffc2..ca68e031ac 100644
+--- a/gdk/quartz/GdkQuartzView.c
++++ b/gdk/quartz/GdkQuartzView.c
+@@ -298,10 +298,8 @@
+    */
+   if(gdk_quartz_osx_version() >= GDK_OSX_BIGSUR)
+   {
+-#if MAC_OS_X_VERSION_MIN_REQUIRED >= 101200
+     CALayer* layer = self.layer;
+     layer.contentsFormat = kCAContentsFormatRGBA8Uint;
+-#endif
+   }
+ 
+   [super viewWillDraw];
+-- 
+2.30.2
+


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]