mirror of
https://github.com/labwc/labwc.git
synced 2026-03-07 04:33:54 -05:00
Add ToggleKeybinds action
This can be used to better control Virtual Machines, VNC clients, nested compositors or similar. All keybinds other than ToggleKeybinds itself are disabled when first called, a 2nd call will restore handling of all keybinds. Fixes #738 Fixes #810
This commit is contained in:
parent
d571b0b28a
commit
c33a404dc1
5 changed files with 35 additions and 1 deletions
|
|
@ -121,6 +121,9 @@ struct seat {
|
|||
struct wlr_idle *wlr_idle;
|
||||
struct wlr_idle_inhibit_manager_v1 *wlr_idle_inhibit_manager;
|
||||
|
||||
/* In support for ToggleKeybinds */
|
||||
bool inhibit_keybinds;
|
||||
|
||||
/* Used to hide the workspace OSD after switching workspaces */
|
||||
struct wl_event_source *workspace_osd_timer;
|
||||
bool workspace_osd_shown_by_modifier;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue