kwin/effects
David Edmundson fe47a8d9b9 [effects/slideback] Port away from deprecated EffectWindow::desktop
Summary:
Not only does the function windowsShareDesktop become a lot more complex
with the new desktop cardinality comparing if they share any desktop
isn't actually what we want.

If I have 2 windows on desktop 1 and the lower stacked window is also on
desktop 2, when I switch desktops the focus will change, but we don't
want to animate anything here as on this dekstop it has nothing to slide
in front of.

Instead this patch simply checks both windows are on the current
desktop.

Test Plan:
Loaded a few windows. Some on one, some on more.
Before if a window was on desktop 1&2 it wouldn't animate on 2.

Windows now seem to animate when they should and not when they shouldn't.

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D17943
2019-01-03 16:47:28 +00:00
..
backgroundcontrast [effects/backgroundcontrast] Use override keyword 2018-10-18 19:16:17 +03:00
blur [effects/blur] Add missing override keywords 2018-09-24 15:42:22 +03:00
colorpicker
coverswitch [effects/coverswitch] Use override keyword 2018-10-18 19:15:13 +03:00
cube [effects/cube] Update cubecap texture 2018-09-28 21:20:11 +03:00
cubeslide [effects] Move the Desktop Cube Animation effect to its own directory 2018-09-28 20:07:32 +03:00
desktopgrid [wayland] add enter/leave virtual desktop API 2018-11-14 11:08:46 +00:00
dialogparent SVN_SILENT made messages (.desktop file) - always resolve ours 2018-11-22 06:02:11 +01:00
diminactive [effects/diminactive] Dim Wayland clients 2018-10-19 14:38:10 +03:00
dimscreen SVN_SILENT made messages (.desktop file) - always resolve ours 2018-12-12 06:11:35 +01:00
eyeonscreen SVN_SILENT made messages (.desktop file) - always resolve ours 2018-11-22 06:02:11 +01:00
fade [autotests] Test window open/close animations 2018-12-14 21:11:42 +02:00
fadedesktop [effects/fadedesktop] Rewrite it 2018-11-17 13:44:20 +02:00
fadingpopups SVN_SILENT made messages (.desktop file) - always resolve ours 2018-12-28 05:34:06 +01:00
fallapart [effects/fallapart] Fade out window parts 2018-06-14 16:38:12 +03:00
flipswitch Fix minor EBN issues 2018-08-29 21:02:16 +03:00
frozenapp SVN_SILENT made messages (.desktop file) - always resolve ours 2018-11-22 06:02:11 +01:00
glide [effects] Add plasmashell to the blacklist of Glide and Scale effect on Wayland 2018-10-18 19:18:03 +03:00
highlightwindow
invert [effects/invert] Don't block blur and background contrast effect 2018-10-23 13:57:56 +03:00
kscreen [effects/kscreen] Port to TimeLine 2018-07-05 23:00:27 +03:00
login Fix test of scriptedeffectsloader when run from build directory without install 2018-11-07 09:34:18 +01:00
logout SVN_SILENT made messages (.desktop file) - always resolve ours 2018-12-07 05:29:42 +01:00
lookingglass SVN_SILENT made messages (.desktop file) - always resolve ours 2018-11-02 07:56:45 +01:00
magiclamp SVN_SILENT made messages (.desktop file) - always resolve ours 2018-07-23 05:24:40 +02:00
magnifier [effects/magnifier] Fix 1 px gap between magnified area and frame 2018-09-10 13:08:25 +03:00
maximize SVN_SILENT made messages (.desktop file) - always resolve ours 2018-11-22 06:02:11 +01:00
morphingpopups [autotests] Test all scripted effects 2018-11-21 20:01:06 +02:00
mouseclick SVN_SILENT made messages (.desktop file) - always resolve ours 2018-07-23 05:24:40 +02:00
mousemark [effects/mousemark] Properly use GL_LINE_SMOOTH 2018-08-09 22:52:37 +03:00
presentwindows Merge branch 'Plasma/5.12' into Plasma/5.14 2018-10-29 00:02:52 +02:00
resize SVN_SILENT made messages (.desktop file) - always resolve ours 2018-07-23 05:24:40 +02:00
scale SVN_SILENT made messages (.desktop file) - always resolve ours 2018-12-28 05:34:06 +01:00
screenedge
screenshot effects: attempt to screenshot on OpenGL ES 2.0 instead of failing 2018-11-11 19:03:50 +05:30
sheet [effects/sheet] Decrease the default animation duration 2018-10-22 10:11:00 +03:00
showfps SVN_SILENT made messages (.desktop file) - always resolve ours 2018-11-01 05:58:11 +01:00
showpaint SVN_SILENT made messages (.desktop file) - always resolve ours 2018-11-29 05:32:08 +01:00
slide [effects/slide] Simplify logic that forces blur and background contrast 2018-10-02 19:54:37 +03:00
slideback [effects/slideback] Port away from deprecated EffectWindow::desktop 2019-01-03 16:47:28 +00:00
slidingpopups [effects/slidingpopups] Port away from deprecated EffectWindow::desktop 2019-01-03 18:12:50 +02:00
snaphelper [effects/snaphelper] Do massive overhaul 2018-11-05 16:59:19 +02:00
squash SVN_SILENT made messages (.desktop file) - always resolve ours 2018-12-28 05:34:06 +01:00
startupfeedback Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
thumbnailaside [effects/thumbnailaside] Save shortcuts 2018-10-27 19:09:49 +03:00
touchpoints
trackmouse [effects/trackmouse] Allow to use both modifiers and shortcut 2018-09-12 16:37:05 +03:00
translucency SVN_SILENT made messages (.desktop file) - always resolve ours 2018-11-22 06:02:11 +01:00
windowaperture SVN_SILENT made messages (.desktop file) - always resolve ours 2018-11-22 06:02:11 +01:00
windowgeometry SVN_SILENT made messages (.desktop file) - always resolve ours 2018-07-23 05:24:40 +02:00
wobblywindows SVN_SILENT made messages (.desktop file) - always resolve ours 2018-11-21 05:47:44 +01:00
zoom SVN_SILENT made messages (.desktop file) - always resolve ours 2018-12-24 05:25:01 +01:00
CMakeLists.txt [effects/dimscreen] Port to JavaScript 2018-11-17 13:44:20 +02:00
effect_builtins.cpp [effects/dimscreen] Port to JavaScript 2018-11-17 13:44:20 +02:00
effect_builtins.h [effects/dimscreen] Port to JavaScript 2018-11-17 13:44:20 +02:00
kwineffect.desktop [effects] Fix type of X-KWin-Video-Url 2018-09-11 13:46:35 +03:00
logging.cpp
Messages.sh
shaders.qrc