D19613: Support NET_WM_STATE_FOCUSED

David Edmundson <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
davidedmundson added a comment.


  > Gtk can easily check whether the window manager supports this property and if not do the same as this patch does.
  
  Whilst I would agree GTK should have kept their fallback, re-adding it couldn't be the same (at least, not by following focus) 
  The flag itself does solve a real problem that we would hit in Qt if we tried to have the same visual effects.
  
  If I had a different window palette for unfocused windows as soon as I open a combo box (and grab focus) the window would appear to be inactive. 
  Breeze style doesn't have different palettes for unfocused windows, but that's a chicken and egg problem.
  
  We also shouldn't just think GTK, it's exposed in at least SDL as well.

REPOSITORY
  R108 KWin

BRANCH
  origin-master (branched from master)

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

To: davidedmundson, #kwin, rooty
Cc: zzag, ognarb, ngraham, rooty, graesslin, kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, 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.