mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
fix: avoid exclusive_focus layer toggle focus leave by itself
This commit is contained in:
parent
fa573848b9
commit
848454ce34
1 changed files with 1 additions and 1 deletions
|
|
@ -2658,7 +2658,7 @@ void arrangelayers(Monitor *m) {
|
|||
if (locked ||
|
||||
l->layer_surface->current.keyboard_interactive !=
|
||||
ZWLR_LAYER_SURFACE_V1_KEYBOARD_INTERACTIVITY_EXCLUSIVE ||
|
||||
!l->mapped)
|
||||
!l->mapped || l == exclusive_focus)
|
||||
continue;
|
||||
/* Deactivate the focused client. */
|
||||
focusclient(NULL, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue