[Differential] [Request, 15 lines] D1864: Handle ShellClient::windowShown in Workspace

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Tue Jun 14 11:49:11 UTC 2016


graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.

REVISION SUMMARY
  When a ShellClient gets unmapped and mapped again the signal windowShown
  gets emitted. We need to handle this in Workspace to ensure the window
  is in the proper layer and gets focus.
  
  This fixes applications like KRunner/Yakuake not having focus on a
  second show. Unfortunately it also brings back the problem that
  notifiations steal focus (this needs to be fixed by passing a proper
  window type to a notification).

REPOSITORY
  rKWIN KWin

BRANCH
  handle-window-shown

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

AFFECTED FILES
  autotests/wayland/shell_client_test.cpp
  workspace.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, #kwin, #plasma_on_wayland
Cc: plasma-devel, kwin, hardening, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160614/0968f139/attachment.html>


More information about the Plasma-devel mailing list