src/workspaces.c: prevent re-focus for always-on-top views

Before this patch a focused always-on-top view lost its keyboard
focus when switching workspaces. Now the view keeps its focus.
This commit is contained in:
Consolatis 2022-12-29 04:50:21 +01:00
parent f7c8663f67
commit e39fd341ec
3 changed files with 12 additions and 8 deletions

View file

@ -143,6 +143,7 @@ void view_set_fullscreen(struct view *view, bool fullscreen,
void view_toggle_maximize(struct view *view);
void view_toggle_decorations(struct view *view);
void view_toggle_always_on_top(struct view *view);
bool view_is_always_on_top(struct view *view);
void view_move_to_workspace(struct view *view, struct workspace *workspace);
void view_set_decorations(struct view *view, bool decorations);
void view_toggle_fullscreen(struct view *view);