Hello community, here is the log from the commit of package kwayland-integration for openSUSE:Factory checked in at 2017-01-31 12:20:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kwayland-integration (Old) and /work/SRC/openSUSE:Factory/.kwayland-integration.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kwayland-integration" Changes: -------- --- /work/SRC/openSUSE:Factory/kwayland-integration/kwayland-integration.changes 2017-01-04 17:24:55.824111574 +0100 +++ /work/SRC/openSUSE:Factory/.kwayland-integration.new/kwayland-integration.changes 2017-02-03 17:46:36.225095464 +0100 @@ -1,0 +2,20 @@ +Thu Jan 26 19:58:30 CET 2017 - fabian@ritter-vogt.de + +- Update to 5.9.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/plasma-5.9.0.php +- Changes since 5.8.95: + * None + +------------------------------------------------------------------- +Thu Jan 12 20:39:58 UTC 2017 - fabian@ritter-vogt.de + +- Update to 5.8.95 (Plasma 5.9 Beta) + * New feature release + * For more details please see: + https://www.kde.org/announcements/plasma-5.8.95.php +- Changes: + * Support forceActiveWindow for Panels. + +------------------------------------------------------------------- Old: ---- kwayland-integration-5.8.5.tar.xz New: ---- kwayland-integration-5.9.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kwayland-integration.spec ++++++ --- /var/tmp/diff_new_pack.ZseRqj/_old 2017-02-03 17:46:36.541050742 +0100 +++ /var/tmp/diff_new_pack.ZseRqj/_new 2017-02-03 17:46:36.545050176 +0100 @@ -1,7 +1,7 @@ # # spec file for package kwayland-integration # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,17 +17,17 @@ Name: kwayland-integration -Version: 5.8.5 +Version: 5.9.0 Release: 0 -# Full Plasma 5 version (e.g. 5.8.5) +# Full Plasma 5 version (e.g. 5.9.0) %{!?_plasma5_bugfix: %global _plasma5_bugfix %{version}} -# Lasted ABI-stable Plasma (e.g. 5.8 in KF5, but 5.8.90 in KUF) +# Lasted ABI-stable Plasma (e.g. 5.8 in KF5, but 5.9.0 in KUF) %{!?_plasma5_version: %global _plasma5_version %(echo %{_plasma5_bugfix} | awk -F. '{print $1"."$2}')} Summary: Integration plugins for various KDE frameworks for wayland windowing system License: LGPL-2.1+ Group: Development/Libraries/KDE Url: http://www.kde.org -Source: http://download.kde.org/stable/plasma/%{version}/%{name}-%{version}.tar.xz +Source: kwayland-integration-%{version}.tar.xz BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules >= 0.0.11 BuildRequires: kf5-filesystem ++++++ kwayland-integration-5.8.5.tar.xz -> kwayland-integration-5.9.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-integration-5.8.5/CMakeLists.txt new/kwayland-integration-5.9.0/CMakeLists.txt --- old/kwayland-integration-5.8.5/CMakeLists.txt 2016-12-27 12:27:23.000000000 +0100 +++ new/kwayland-integration-5.9.0/CMakeLists.txt 2017-01-26 13:18:13.000000000 +0100 @@ -1,5 +1,5 @@ project(kwayland-integration) -set(PROJECT_VERSION "5.8.5") +set(PROJECT_VERSION "5.9.0") set(PROJECT_VERSION_MAJOR 5) cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-integration-5.8.5/src/windowsystem/windowsystem.cpp new/kwayland-integration-5.9.0/src/windowsystem/windowsystem.cpp --- old/kwayland-integration-5.8.5/src/windowsystem/windowsystem.cpp 2016-12-27 12:27:23.000000000 +0100 +++ new/kwayland-integration-5.9.0/src/windowsystem/windowsystem.cpp 2017-01-26 13:18:13.000000000 +0100 @@ -68,6 +68,18 @@ Q_UNUSED(time) if (PlasmaWindow *w = window(win)) { w->requestActivate(); + } else { + Surface *s = Surface::fromQtWinId(win); + if (!s) { + return; + } + auto plasmaShellSurface = PlasmaShellSurface::get(s); + if (!plasmaShellSurface) { + return; + } + if (plasmaShellSurface->role() == PlasmaShellSurface::Role::Panel) { + plasmaShellSurface->setPanelTakesFocus(true); + } } }