Vlad Zagorodniy
2018-12-04 11:35:13 UTC
zzag created this revision.
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.
REVISION SUMMARY
Currently, our implementation of zwp_idle_inhibitor_v1 is not fully
spec-compliant. If the associated surface is not visible, we still
honor the idle inhibitor object.
This change addresses those spec-compliance issues. If a surface is
minimized or it's not on the current virtual desktop, then the
associated inhibitor object won't be honored by KWin.
REPOSITORY
R108 KWin
BRANCH
idle-inhibit-spec-compliant
REVISION DETAIL
https://phabricator.kde.org/D17343
AFFECTED FILES
autotests/integration/idle_inhibition_test.cpp
idle_inhibition.cpp
idle_inhibition.h
To: zzag, #kwin
Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.
REVISION SUMMARY
Currently, our implementation of zwp_idle_inhibitor_v1 is not fully
spec-compliant. If the associated surface is not visible, we still
honor the idle inhibitor object.
This change addresses those spec-compliance issues. If a surface is
minimized or it's not on the current virtual desktop, then the
associated inhibitor object won't be honored by KWin.
REPOSITORY
R108 KWin
BRANCH
idle-inhibit-spec-compliant
REVISION DETAIL
https://phabricator.kde.org/D17343
AFFECTED FILES
autotests/integration/idle_inhibition_test.cpp
idle_inhibition.cpp
idle_inhibition.h
To: zzag, #kwin
Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart