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.
This commit is contained in:
parent
7865a9b355
commit
2d563dc63f
1 changed files with 0 additions and 1 deletions
|
@ -1065,7 +1065,6 @@ bool XdgToplevelWindow::acceptsFocus() const
|
||||||
switch (m_plasmaShellSurface->role()) {
|
switch (m_plasmaShellSurface->role()) {
|
||||||
case PlasmaShellSurfaceInterface::Role::Notification:
|
case PlasmaShellSurfaceInterface::Role::Notification:
|
||||||
case PlasmaShellSurfaceInterface::Role::CriticalNotification:
|
case PlasmaShellSurfaceInterface::Role::CriticalNotification:
|
||||||
case PlasmaShellSurfaceInterface::Role::AppletPopup:
|
|
||||||
return m_plasmaShellSurface->panelTakesFocus();
|
return m_plasmaShellSurface->panelTakesFocus();
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue