mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2025-01-28 07:58:44 +01:00
parent
519038a7e9
commit
a7898637de
1 changed files with 1 additions and 1 deletions
|
@ -1184,7 +1184,7 @@ void seat_set_focus(struct sway_seat *seat, struct sway_node *node) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Deny setting focus when an input grab or lockscreen is active
|
// Deny setting focus when an input grab or lockscreen is active
|
||||||
if (container && !seat_is_input_allowed(seat, container->view->surface)) {
|
if (container && container->view && !seat_is_input_allowed(seat, container->view->surface)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue