Commit b99f95e3 authored by Marco Martin's avatar Marco Martin
Browse files

support OnScreenDisplay window type

plasmashell needs some of their windows as on screen display
ideally only the shell will be allowed to use them
REVIEW:125036
parent 47d7a79f
......@@ -227,6 +227,9 @@ void PlasmaShellSurfaceInterface::Private::setRole(uint32_t role)
case ORG_KDE_PLASMA_SURFACE_ROLE_PANEL:
r = Role::Panel;
break;
case ORG_KDE_PLASMA_SURFACE_ROLE_ONSCREENDISPLAY:
r = Role::OnScreenDisplay;
break;
case ORG_KDE_PLASMA_SURFACE_ROLE_NORMAL:
default:
r = Role::Normal;
......
......@@ -69,7 +69,8 @@ public:
enum class Role {
Normal,
Desktop,
Panel
Panel,
OnScreenDisplay
};
Role role() const;
enum class PanelBehavior {
......
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