D19262: Delayed focus updates for Toplevels without surface

Roman Gilg <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
romangg created this revision.
romangg added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
romangg requested review of this revision.

REVISION SUMMARY
  XWayland clients have a surface associated with them asynchronously. In this
  case we don't directly want to set focus on this Toplevel, but wait until the
  surface is set.
  
  This patch aims in conjunction with an unrelated fix to SDL at improving Steam
  Big Picture Mode in our Wayland session.

TEST PLAN
  Steam BPM regains focus on game close.

REPOSITORY
  R108 KWin

BRANCH
  bpmFocusFix

REVISION DETAIL
  https://phabricator.kde.org/D19262

AFFECTED FILES
  input.cpp
  input.h

To: romangg, #kwin
Cc: kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, 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.