Hello community,

here is the log from the commit of package kwin5 for openSUSE:Factory checked 
in at 2017-06-19 13:23:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kwin5 (Old)
 and      /work/SRC/openSUSE:Factory/.kwin5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kwin5"

Mon Jun 19 13:23:16 2017 rev:57 rq:504387 version:5.10.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/kwin5/kwin5.changes      2017-06-16 
10:50:32.987256803 +0200
+++ /work/SRC/openSUSE:Factory/.kwin5.new/kwin5.changes 2017-06-19 
13:23:16.553405548 +0200
@@ -1,0 +2,6 @@
+Sat Jun 17 16:37:21 UTC 2017 - [email protected]
+
+- Add workaround to fix input for fullscreen effects with Qt 5.9:
+  * 0001-Force-creation-of-platform-window-for-the-desktop.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Force-creation-of-platform-window-for-the-desktop.patch

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

Other differences:
------------------
++++++ kwin5.spec ++++++
--- /var/tmp/diff_new_pack.ngbzHK/_old  2017-06-19 13:23:17.309298977 +0200
+++ /var/tmp/diff_new_pack.ngbzHK/_new  2017-06-19 13:23:17.309298977 +0200
@@ -34,6 +34,8 @@
 Source:         
http://download.kde.org/stable/plasma/%{version}/kwin-%{version}.tar.xz
 # PATCH-FIX-OPENSUSE (?)
 Patch1:         0001-Revert-Make-WindowSwitching-Alt-Tab-the-default-left.patch
+# PATCH-FIX-OPENSUSE (?)
+Patch100:       0001-Force-creation-of-platform-window-for-the-desktop.patch
 BuildRequires:  extra-cmake-modules >= 0.0.11
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem
@@ -144,6 +146,7 @@
 %prep
 %setup -q -n kwin-%{version}
 %patch1 -p1
+%patch100 -p1
 
 %build
   %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}

++++++ 0001-Force-creation-of-platform-window-for-the-desktop.patch ++++++
>From 22ee5f7b56e2a82dcf7f5546456e819690e934de Mon Sep 17 00:00:00 2001
From: Fabian Vogt <[email protected]>
Date: Sat, 17 Jun 2017 18:34:25 +0200
Subject: [PATCH] Force creation of platform window for the desktop

Fixes kde#360841
---
 workspace.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/workspace.cpp b/workspace.cpp
index acbbcf487..53c9fd3f0 100644
--- a/workspace.cpp
+++ b/workspace.cpp
@@ -63,6 +63,7 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>.
 #include <KLocalizedString>
 #include <KStartupInfo>
 // Qt
+#include <QDesktopWidget>
 #include <QtConcurrentRun>
 
 namespace KWin
@@ -347,6 +348,9 @@ void Workspace::init()
 
     } // End updates blocker block
 
+    // Create platform handle to the root window to allow for event processing
+    QApplication::desktop()->winId();
+
     AbstractClient* new_active_client = nullptr;
     if (!qApp->isSessionRestored()) {
         --block_focus;
-- 
2.13.0


Reply via email to