Commit 2d563dc6 authored by Luca Carlon's avatar Luca Carlon Committed by Vlad Zahorodnii
Browse files

AppletPopup window type should accept focus.

AppletPopup window type should accept focus, behaving like other window types like
Dock. At the moment it is instead behaving like notification, which seems wrong.
This should also fix a failing unit test.
parent 7865a9b3
Pipeline #182970 passed with stage
in 12 minutes and 35 seconds
......@@ -1065,7 +1065,6 @@ bool XdgToplevelWindow::acceptsFocus() const
switch (m_plasmaShellSurface->role()) {
case PlasmaShellSurfaceInterface::Role::Notification:
case PlasmaShellSurfaceInterface::Role::CriticalNotification:
case PlasmaShellSurfaceInterface::Role::AppletPopup:
return m_plasmaShellSurface->panelTakesFocus();
default:
break;
......
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