Update top layer visiblity on workspace switch

Fixes: #1158
This commit is contained in:
Consolatis 2023-11-10 23:58:25 +01:00 committed by Johan Malm
parent 98bf316ee6
commit 13d0b14244
5 changed files with 48 additions and 11 deletions

View file

@ -393,6 +393,12 @@ void desktop_arrange_all_views(struct server *server);
void desktop_focus_output(struct output *output);
struct view *desktop_topmost_focusable_view(struct server *server);
/**
* Toggles the (output local) visibility of the layershell top layer
* based on the existence of a fullscreen window on the current workspace.
*/
void desktop_update_top_layer_visiblity(struct server *server);
enum lab_cycle_dir {
LAB_CYCLE_DIR_NONE,
LAB_CYCLE_DIR_FORWARD,