Commit 6896e960 authored by David Edmundson's avatar David Edmundson
Browse files

[plasmashell] Update docs for panelTakesFocus to make it generic

Summary:
We want surfaces with a notification role to be able to switch ability
to take focus or not on the fly. The semantics are identical as the
panel
taking focus, we may as well re-use what exists and remove the implicit
limitation than re-invent the wheel and complicate things.

Test Plan: Docs

Reviewers: #kwin, romangg

Reviewed By: #kwin, romangg

Subscribers: romangg, apol, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D26175
parent 95956415
......@@ -168,13 +168,14 @@ public:
void showAutoHidingPanel();
/**
* Whether a PlasmaShellSurfaceInterface with Role Panel wants to have focus.
* Whether a PlasmaShellSurfaceInterface wants to have focus.
*
* By default a Panel does not get focus, but the PlasmaShellSurfaceInterface can
* By default some PlasmaShell roles do not get focus, but the PlasmaShellSurfaceInterface can
* request that it wants to have focus. The compositor can use this information to
* pass focus to the panel.
* pass focus to the surface.
* @since 5.28
**/
//TODO KF6 rename to something generic
bool panelTakesFocus() const;
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment