kwin/libkwineffects
David Edmundson 3604aaf74c Close screen grabbing effect when screensaver starts
Summary:
The screenlock fails on X11 if it can't grab the keyboard.

We can't nicely solve the generic case. We can solve the common case of
a kwin effect being active.

It's not critical, arguably not even desirable to have these effects
persist after the screen is locked through an external trigger. We can
just close the effect early.

Key grabs have to be relased early before the close animation completes
so that the locker doesn't have a race based on animation times.

It's not ideal, but no worse than the current state for not much work.

BUG: 234153

Test Plan:
locked screen on a timer
opened various effects

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: ngraham, zzag, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D20890
2019-06-23 18:00:47 +02:00
..
anidata.cpp [scripting] Introduce redirect function 2018-11-17 13:44:16 +02:00
anidata_p.h Overhaul doxygen comments 2019-02-12 19:29:33 +02:00
CMakeLists.txt Bump libkwineffects SO version for 5.15 2018-10-04 00:57:44 +03:00
kwinanimationeffect.cpp [libkwineffects] Port AnimationEffect to new connect syntax 2019-01-20 14:04:13 +02:00
kwinanimationeffect.h [libkwineffects] Make AnimationEffect::AniMap protected 2019-02-26 11:37:44 +02:00
kwinconfig.h.cmake Move linking to DL_LIBRARY to x11standalone platform 2016-11-22 14:22:06 +01:00
kwineffects.cpp [libkwineffects] Port the remaining bits of API to dynamic dispatch 2019-01-07 21:40:45 +02:00
kwineffects.h Close screen grabbing effect when screensaver starts 2019-06-23 18:00:47 +02:00
kwinglobals.h Overhaul doxygen comments 2019-02-12 19:29:33 +02:00
kwinglplatform.cpp [libkwineffects] Detect modern Radeon GPUs 2018-12-21 13:43:13 +02:00
kwinglplatform.h Overhaul doxygen comments 2019-02-12 19:29:33 +02:00
kwingltexture.cpp don't override m_canUseMipmaps 2018-03-14 04:37:44 +02:00
kwingltexture.h Overhaul doxygen comments 2019-02-12 19:29:33 +02:00
kwingltexture_p.h [libkwineffects] Try fixing compile error with clang 2017-10-01 09:54:12 +02:00
kwinglutils.cpp [libkwineffects] Push render targets more efficiently in GLRenderTarget::pushRenderTargets 2018-07-03 12:33:04 +03:00
kwinglutils.h Overhaul doxygen comments 2019-02-12 19:29:33 +02:00
kwinglutils_funcs.cpp Update URLs to use https 2019-03-25 19:26:23 +01:00
kwinglutils_funcs.h Remove epoxy/egl.h from kwinglutils_func.h 2016-11-22 14:21:40 +01:00
kwinxrenderutils.cpp [libkwinxrenderutils] Clean up static blend picture before going down 2016-06-13 15:29:07 +02:00
kwinxrenderutils.h Overhaul doxygen comments 2019-02-12 19:29:33 +02:00
logging.cpp pedantic fixes 2016-07-16 13:14:44 -04:00
logging_p.h pedantic fixes 2016-07-16 13:14:44 -04:00
Mainpage.dox Move kwineffects library into own directory 2011-02-19 10:01:31 +01:00
Messages.sh Improve message extraction 2011-02-20 16:02:33 +01:00