From 2d563dc63f06612671a79f2eba2d11f4e0685a2b Mon Sep 17 00:00:00 2001 From: Luca Carlon Date: Sun, 29 May 2022 11:47:30 +0200 Subject: [PATCH] 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. --- src/xdgshellwindow.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/xdgshellwindow.cpp b/src/xdgshellwindow.cpp index 061aa2a4c9..95a8c9ddc4 100644 --- a/src/xdgshellwindow.cpp +++ b/src/xdgshellwindow.cpp @@ -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;