D17343: [wayland] Don't honor the idle inhibitor object if the surface is not visible

Vlad Zagorodniy <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.