mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
Remove seat->nr_inhibited_keybind_views
This commit is contained in:
parent
f7702af9e4
commit
73095f75cb
3 changed files with 1 additions and 11 deletions
|
|
@ -2437,11 +2437,6 @@ view_toggle_keybinds(struct view *view)
|
|||
{
|
||||
assert(view);
|
||||
view->inhibits_keybinds = !view->inhibits_keybinds;
|
||||
if (view->inhibits_keybinds) {
|
||||
view->server->seat.nr_inhibited_keybind_views++;
|
||||
} else {
|
||||
view->server->seat.nr_inhibited_keybind_views--;
|
||||
}
|
||||
|
||||
if (view->ssd_enabled) {
|
||||
ssd_enable_keybind_inhibit_indicator(view->ssd,
|
||||
|
|
@ -2621,7 +2616,6 @@ view_destroy(struct view *view)
|
|||
|
||||
if (view->inhibits_keybinds) {
|
||||
view->inhibits_keybinds = false;
|
||||
server->seat.nr_inhibited_keybind_views--;
|
||||
}
|
||||
|
||||
osd_on_view_destroy(view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue