mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-31 22:25:29 -04:00
fix: exclusive_focus layer shouldn't be take off focus by client
This commit is contained in:
parent
e9e8a549f1
commit
eda0b018d5
1 changed files with 1 additions and 1 deletions
|
|
@ -4207,7 +4207,7 @@ void focusclient(Client *c, int lift) {
|
||||||
toplevel_from_wlr_surface(old_keyboard_focus_surface, &w, &l);
|
toplevel_from_wlr_surface(old_keyboard_focus_surface, &w, &l);
|
||||||
if (type == LayerShell && l->scene->node.enabled &&
|
if (type == LayerShell && l->scene->node.enabled &&
|
||||||
l->layer_surface->current.layer >= ZWLR_LAYER_SHELL_V1_LAYER_TOP &&
|
l->layer_surface->current.layer >= ZWLR_LAYER_SHELL_V1_LAYER_TOP &&
|
||||||
!l->layer_surface->current.keyboard_interactive) {
|
l == exclusive_focus) {
|
||||||
return;
|
return;
|
||||||
} else if (w && w == exclusive_focus && client_wants_focus(w)) {
|
} else if (w && w == exclusive_focus && client_wants_focus(w)) {
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue