Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gtk4 for openSUSE:Factory checked in 
at 2024-08-05 17:20:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gtk4 (Old)
 and      /work/SRC/openSUSE:Factory/.gtk4.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gtk4"

Mon Aug  5 17:20:48 2024 rev:77 rq:1191428 version:4.15.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/gtk4/gtk4.changes        2024-08-01 
22:04:16.088067566 +0200
+++ /work/SRC/openSUSE:Factory/.gtk4.new.7232/gtk4.changes      2024-08-05 
17:20:54.102205731 +0200
@@ -1,0 +2,6 @@
+Fri Aug  2 20:17:08 UTC 2024 - Joshua Smith <smolsh...@opensuse.org>
+
+- Add 0002-Revert-no-pointer-viewport.patch --
+  Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/6620
+
+-------------------------------------------------------------------

New:
----
  0002-Revert-no-pointer-viewport.patch

BETA DEBUG BEGIN:
  New:
- Add 0002-Revert-no-pointer-viewport.patch --
  Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/6620
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gtk4.spec ++++++
--- /var/tmp/diff_new_pack.lT7b5n/_old  2024-08-05 17:20:54.982241789 +0200
+++ /var/tmp/diff_new_pack.lT7b5n/_new  2024-08-05 17:20:54.982241789 +0200
@@ -46,6 +46,10 @@
 # PATCH-FIX-OPENSUSE 0001-Revert-Meson-Simplify-pkgconfig-file-generator.patch 
-- Revert "Meson: Simplify pkgconfig file generator"
 Patch0:         0001-Revert-Meson-Simplify-pkgconfig-file-generator.patch
 
+# https://gitlab.gnome.org/GNOME/gtk/-/issues/6620
+# PATCH-FIX-UPSTREAM 0002-Revert-no-pointer-viewport.patch -- Fix the gigantic 
cursor issue pulled in latest version
+Patch1:         0002-Revert-no-pointer-viewport.patch
+
 BuildRequires:  cups-devel >= 2.0
 # We do not support building against cups 2.3 betas
 BuildConflicts: (cups-devel > 2.3 with cups-devel < 2.3.0)

++++++ 0002-Revert-no-pointer-viewport.patch ++++++
>From 3d802177be2f2e5fb95fdb988108dd1b048c5579 Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mcla...@redhat.com>
Date: Wed, 31 Jul 2024 07:29:37 -0400
Subject: [PATCH] wayland: No viewporter for cursors

The outlook for mutter supporting this in GNOME 47 are cloudy,
so lets flip the switch back. You can still set
USE_POINTER_VIEWPORT in the environment to try this code.
---
 gdk/wayland/gdkdevice-wayland.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index 1070d7f9e1d..139c22cd39b 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -265,13 +265,13 @@ gdk_wayland_device_update_surface_cursor (GdkDevice 
*device)
   guint next_image_index, next_image_delay;
   gboolean retval = G_SOURCE_REMOVE;
   GdkWaylandTabletData *tablet;
-  gboolean use_viewport;
+  gboolean use_viewport = FALSE;
 
   tablet = gdk_wayland_seat_find_tablet (seat, device);
 
-  use_viewport = pointer->pointer_surface_viewport != NULL;
-  if (g_getenv ("NO_POINTER_VIEWPORT"))
-    use_viewport = FALSE;
+  if (pointer->pointer_surface_viewport &&
+      g_getenv ("USE_POINTER_VIEWPORT"))
+    use_viewport = TRUE;
 
   if (pointer->cursor)
     {
-- 
GitLab

Reply via email to