mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
[fixup] remove overlay.pending and add overlay.active.output
This commit is contained in:
parent
5b1a03ae69
commit
93bc17a99a
7 changed files with 50 additions and 48 deletions
|
|
@ -80,6 +80,8 @@ keyboard_modifiers_notify(struct wl_listener *listener, void *data)
|
|||
if (server->input_mode == LAB_INPUT_STATE_MOVE) {
|
||||
/* Any change to the modifier state re-enable region snap */
|
||||
seat->region_prevent_snap = false;
|
||||
/* Pressing/releasing modifier key may show/hide region overlay */
|
||||
overlay_show(seat);
|
||||
}
|
||||
|
||||
if (server->osd_state.cycle_view
|
||||
|
|
@ -97,10 +99,6 @@ keyboard_modifiers_notify(struct wl_listener *listener, void *data)
|
|||
}
|
||||
}
|
||||
}
|
||||
/* Pressing/releasing modifier key may show/hide region overlay */
|
||||
if (server->grabbed_view) {
|
||||
overlay_show(seat, server->grabbed_view);
|
||||
}
|
||||
|
||||
if (!input_method_keyboard_grab_forward_modifiers(keyboard)) {
|
||||
wlr_seat_keyboard_notify_modifiers(seat->seat,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue