kwin/effects/desktopgrid
Vlad Zagorodniy 0c3047a8f1 [effects/desktopgrid] Don't change activities
Summary:
If the Desktop Grid effect doesn't use the Present Windows effect to
layout windows, windowAt helper can return a window that doesn't belong
to current activity because it doesn't check whether that window belongs
to current activity.

This change addresses that problem by adding corresponding check.

BUG: 301447
FIXED-IN: 5.13.4

Test Plan:
//Unchecked "Use Present Windows effect to layout the windows".//

* Switched to activity #1
* Switched to virtual desktop #1
* Launched Konsole and maximized it(to increate hit area)
* Switched to activity #2
* Switched to virtual desktop #2
* Launched Dolphin and maximized it
* Activated the Desktop Grid effect, clicked on virtual desktop #1 (activity #2 is still active)
* Switched to activity #1
* Activated the Desktop Grid effect, clicked on virtual desktop #2 (activity #1 is still active)

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D14046
2018-07-11 16:39:48 +03:00
..
CMakeLists.txt Use SERVICE_TYPES parameter to kcoreaddons_desktop_to_json() 2015-12-09 23:42:45 +00:00
desktopgrid.cpp [effects/desktopgrid] Don't change activities 2018-07-11 16:39:48 +03:00
desktopgrid.h [effects/desktopgrid] Enable blur behind windows 2018-05-01 23:01:55 +02:00
desktopgrid.kcfg [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
desktopgrid_config.cpp [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
desktopgrid_config.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2018-06-26 07:21:11 +02:00
desktopgrid_config.h
desktopgrid_config.ui desktop grid: add option to hide buttons 2015-10-29 23:36:10 +01:00
desktopgridconfig.kcfgc
main.qml desktop grid: use -/+ text buttons 2015-10-29 23:36:10 +01:00