ToggleKeybinds per window

This commit is contained in:
Consolatis 2023-03-05 10:35:56 +01:00 committed by Johan Malm
parent b6dfffc782
commit 235a8ad9bc
12 changed files with 84 additions and 5 deletions

View file

@ -82,6 +82,7 @@ struct view {
bool maximized;
bool fullscreen;
uint32_t tiled; /* private, enum view_edge in src/view.c */
bool inhibits_keybinds;
/* Pointer to an output owned struct region, may be NULL */
struct region *tiled_region;
@ -146,6 +147,9 @@ struct xdg_toplevel_view {
struct wl_listener new_popup;
};
bool view_inhibits_keybinds(struct view *view);
void view_toggle_keybinds(struct view *view);
void view_set_activated(struct view *view);
void view_set_output(struct view *view, struct output *output);
void view_close(struct view *view);