kwin/effects/glide
Martin Gräßlin 40ad7ef4e9 [effects] Improve interaction between Glide and SlidingPopups effect
Summary:
The glide effect tried to not animate any window the SlidingPopups
effect animates. But it detected that in a very crude way. It announced
the KDE_SLIDE atom and checked for windows having that property set.

This has a few disadvantages:
* KWindowEffects::isEffectAvailable gets confused as an effect announces
  support for SlidingPopups which doesn't provide SlidingPopups
* The approach can only work for X11 windows
* The approach causes X11 usage in the ctor

With this change the GlideEffect implements a slot for
EffectsHandler::windowDataChanged to detect that the SlidingPopupsEffect
grabbed the window. The X11 atom interaction is removed.

Reviewers: #kwin, #plasma_on_wayland

Subscribers: plasma-devel, kwin

Tags: #plasma_on_wayland, #kwin

Differential Revision: https://phabricator.kde.org/D3296
2016-11-16 09:05:41 +01:00
..
CMakeLists.txt Use SERVICE_TYPES parameter to kcoreaddons_desktop_to_json() 2015-12-09 23:42:45 +00:00
glide.cpp [effects] Improve interaction between Glide and SlidingPopups effect 2016-11-16 09:05:41 +01:00
glide.h [effects] Improve interaction between Glide and SlidingPopups effect 2016-11-16 09:05:41 +01:00
glide.kcfg Use KConfigXT in Glide Effect 2012-09-14 10:39:28 +02:00
glide_config.cpp Do not register dbus service org.kde.kwin.Effects 2014-05-15 10:55:29 +02:00
glide_config.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2015-04-07 13:20:00 +00:00
glide_config.h Use KConfigXT in Glide Effect 2012-09-14 10:39:28 +02:00
glide_config.ui Fix warnings in kwin/effects/glide/glide_config.ui 2014-12-05 20:07:37 +01:00
glideconfig.kcfgc Use KConfigXT in Glide Effect 2012-09-14 10:39:28 +02:00