Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vte for openSUSE:Factory checked in 
at 2023-05-10 16:16:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vte (Old)
 and      /work/SRC/openSUSE:Factory/.vte.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vte"

Wed May 10 16:16:54 2023 rev:146 rq:1085778 version:0.72.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/vte/vte.changes  2023-04-18 15:52:25.861260567 
+0200
+++ /work/SRC/openSUSE:Factory/.vte.new.1533/vte.changes        2023-05-10 
16:16:56.966415682 +0200
@@ -1,0 +2,5 @@
+Tue May  9 08:53:35 UTC 2023 - Bjørn Lie <bjorn....@gmail.com>
+
+- Add 24547fb3.patch: widget: Don't consume right clicks on gtk4.
+
+-------------------------------------------------------------------

New:
----
  24547fb3.patch

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

Other differences:
------------------
++++++ vte.spec ++++++
--- /var/tmp/diff_new_pack.WhuuiF/_old  2023-05-10 16:16:57.482418734 +0200
+++ /var/tmp/diff_new_pack.WhuuiF/_new  2023-05-10 16:16:57.490418782 +0200
@@ -36,6 +36,8 @@
 Source:         %{_name}-%{version}.tar.xz
 # PATCH-FIX-OPENSUSE vte-enable-build-flag-pie.patch yfji...@suse.com -- 
enable PIE flag to be compatible with gcc default linking option
 Patch0:         vte-enable-build-flag-pie.patch
+# PATCH-FIX-UPSTREAM 24547fb3.patch -- widget: Don't consume right clicks on 
gtk4
+Patch1:         https://gitlab.gnome.org/GNOME/vte/-/commit/24547fb3.patch
 # PATCH-FIX-SLE vte-revert-back-to-c++17.patch yu.da...@suse.com -- revert 
c++20 features back to c++17
 Patch100:       vte-revert-back-to-c++17.patch
 
@@ -176,6 +178,7 @@
 %prep
 %autosetup -n %{_name}-%{version} -N
 %patch0 -p1
+%patch1 -p1
 %if 0%{?sle_version}
 %patch100 -p1
 %endif

++++++ 24547fb3.patch ++++++
>From 24547fb36377b3bbc39a91d887eb5161e73532e3 Mon Sep 17 00:00:00 2001
From: Christian Persch <c...@src.gnome.org>
Date: Tue, 25 Apr 2023 23:06:40 +0200
Subject: [PATCH] widget: Don't consume right clicks on gtk4

gtk4 still needs to handle context menus correctly, but on stable branch
we need to remove always claiming the event since it doesn't do anything
yet.

https://gitlab.gnome.org/GNOME/vte/-/issues/2593
(cherry picked from commit ff1b03e450fddae623401d8dc619a6c4f17df42d)
---
 src/vte.cc | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/vte.cc b/src/vte.cc
index 76086d9d..b8e15d71 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -6829,16 +6829,6 @@ Terminal::widget_mouse_press(vte::platform::MouseEvent 
const& event)
                break;
        }
 
-#if VTE_GTK == 4
-        if (!handled &&
-            ((event.button() == vte::platform::MouseEvent::Button::eRIGHT) ||
-             !(event.modifiers() & (GDK_BUTTON1_MASK | GDK_BUTTON2_MASK)))) {
-                _vte_debug_print(VTE_DEBUG_EVENTS, "Showing context menu\n");
-                // FIXMEgtk4 context menu
-                handled = true;
-        }
-#endif /* VTE_GTK == 4 */
-
        /* Save the pointer state for later use. */
         if (event.button_value() >= 1 && event.button_value() <= 3)
                 m_mouse_pressed_buttons |= (1 << (event.button_value() - 1));
-- 
GitLab

Reply via email to