mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-07 22:15:38 -05:00
lock: fix passing screenName to surface
This commit is contained in:
@@ -82,12 +82,16 @@ Scope {
|
||||
locked: shouldLock
|
||||
|
||||
WlSessionLockSurface {
|
||||
id: lockSurface
|
||||
|
||||
color: "transparent"
|
||||
|
||||
LockSurface {
|
||||
anchors.fill: parent
|
||||
lock: sessionLock
|
||||
sharedPasswordBuffer: root.sharedPasswordBuffer
|
||||
screenName: lockSurface.screen?.name ?? ""
|
||||
isLocked: shouldLock
|
||||
onUnlockRequested: {
|
||||
root.unlock()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user