fix(lockscreen): suppress AppLauncher opening when LockscreenService.isLocked is active
This commit is contained in:
parent
fccc488349
commit
550a28d02d
@ -18,7 +18,7 @@ PanelWindow {
|
||||
WlrLayershell.layer: WlrLayershell.Overlay
|
||||
WlrLayershell.keyboardFocus: WlrLayershell.Exclusive
|
||||
|
||||
visible: PopupService.appLauncherOpen
|
||||
visible: PopupService.appLauncherOpen && !LockscreenService.isLocked
|
||||
|
||||
// Currently highlighted app index for keyboard navigation
|
||||
property int selectedIndex: 0
|
||||
|
||||
@ -66,6 +66,7 @@ Item {
|
||||
}
|
||||
|
||||
function lock() {
|
||||
PopupService.closeAll()
|
||||
userPassword = ""
|
||||
typedCount = 0
|
||||
authFailed = false
|
||||
|
||||
@ -133,6 +133,7 @@ Item {
|
||||
}
|
||||
|
||||
function toggleAppLauncher() {
|
||||
if (LockscreenService.isLocked) return;
|
||||
let state = !appLauncherOpen
|
||||
closeAll()
|
||||
appLauncherOpen = state
|
||||
|
||||
Loading…
Reference in New Issue
Block a user