Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kwin5 for openSUSE:Factory checked 
in at 2022-06-19 21:10:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kwin5 (Old)
 and      /work/SRC/openSUSE:Factory/.kwin5.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kwin5"

Sun Jun 19 21:10:39 2022 rev:168 rq:983480 version:5.25.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kwin5/kwin5.changes      2022-06-13 
13:02:32.681118202 +0200
+++ /work/SRC/openSUSE:Factory/.kwin5.new.1548/kwin5.changes    2022-06-19 
21:10:45.050116023 +0200
@@ -1,0 +2,6 @@
+Fri Jun 17 13:21:36 UTC 2022 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Add patch to fix dragging windows in grid view (kde#455268):
+  * 0001-fix-windows-dragging-in-desktop-grid.patch
+
+-------------------------------------------------------------------

New:
----
  0001-fix-windows-dragging-in-desktop-grid.patch

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

Other differences:
------------------
++++++ kwin5.spec ++++++
--- /var/tmp/diff_new_pack.bLfcGF/_old  2022-06-19 21:10:45.746117059 +0200
+++ /var/tmp/diff_new_pack.bLfcGF/_new  2022-06-19 21:10:45.754117070 +0200
@@ -39,6 +39,8 @@
 Source1:        kwin-%{version}.tar.xz.sig
 Source2:        plasma.keyring
 %endif
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-fix-windows-dragging-in-desktop-grid.patch
 # PATCH-FEATURE-OPENSUSE
 Patch101:       0001-Export-consistent-hostname-as-XAUTHLOCALHOSTNAME.patch
 BuildRequires:  extra-cmake-modules >= 0.0.11

++++++ 0001-fix-windows-dragging-in-desktop-grid.patch ++++++
>From 99529e584b3605c040ad5ad88792a28a2c1ff263 Mon Sep 17 00:00:00 2001
From: Marco Martin <notm...@gmail.com>
Date: Wed, 15 Jun 2022 11:13:04 +0200
Subject: [PATCH] fix windows dragging in desktop grid

Don't disable the main drag handler when canclosewindows is disabled,
that one is not used to close windows but to drag them on other desktops or 
screens

BUG: 455268


(cherry picked from commit e04542995e45d29c4b4ef8664a6653afa112cfd6)
---
 src/effects/private/qml/WindowHeap.qml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/effects/private/qml/WindowHeap.qml 
b/src/effects/private/qml/WindowHeap.qml
index 230f86fc7..66b45e799 100644
--- a/src/effects/private/qml/WindowHeap.qml
+++ b/src/effects/private/qml/WindowHeap.qml
@@ -396,8 +396,8 @@ FocusScope {
 
                 component DragManager : DragHandler {
                     id: dragHandler
-                    enabled: heap.supportsCloseWindows
                     target: null
+                    grabPermissions: 
PointerHandler.CanTakeOverFromHandlersOfSameType
 
                     readonly property double targetScale: {
                         if (!heap.supportsDragUpGesture) {
@@ -432,6 +432,7 @@ FocusScope {
                 DragManager {
                     id: touchDragHandler
                     acceptedDevices: PointerDevice.TouchScreen
+                    enabled: heap.supportsCloseWindows
                     readonly property double targetOpacity: {
                         if (!heap.supportsCloseWindows) {
                             return 1;
-- 
2.36.1

Reply via email to