mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
opt: optimize keyborad focus change after unlock
This commit is contained in:
parent
17071783aa
commit
2b74dee89e
1 changed files with 1 additions and 1 deletions
|
|
@ -2725,7 +2725,7 @@ void destroylocksurface(struct wl_listener *listener, void *data) {
|
|||
wl_list_remove(&m->destroy_lock_surface.link);
|
||||
|
||||
if (lock_surface->surface != seat->keyboard_state.focused_surface) {
|
||||
if (exclusive_focus) {
|
||||
if (exclusive_focus && !locked) {
|
||||
exclusive_focus = NULL;
|
||||
reset_exclusive_layer(m);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue