mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 06:05:59 +01:00
session-lock: fix refocus after unlocking (#6423)
This commit is contained in:
parent
8c64a4bad7
commit
1c388e52fb
1 changed files with 4 additions and 2 deletions
|
@ -114,9 +114,11 @@ CSessionLock::CSessionLock(SP<CExtSessionLockV1> resource_) : resource(resource_
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
events.unlockAndDestroy.emit();
|
|
||||||
inert = true;
|
|
||||||
PROTO::sessionLock->locked = false;
|
PROTO::sessionLock->locked = false;
|
||||||
|
|
||||||
|
events.unlockAndDestroy.emit();
|
||||||
|
|
||||||
|
inert = true;
|
||||||
PROTO::sessionLock->destroyResource(this);
|
PROTO::sessionLock->destroyResource(this);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue