mirror of
https://github.com/swaywm/sway.git
synced 2024-11-30 03:41:27 +00:00
Render floating views before top layer and unmanaged
This commit is contained in:
parent
e4e912ea91
commit
7d2b33a458
|
@ -904,13 +904,12 @@ static void render_output(struct sway_output *output, struct timespec *when,
|
||||||
struct sway_seat *seat = input_manager_current_seat(input_manager);
|
struct sway_seat *seat = input_manager_current_seat(input_manager);
|
||||||
struct sway_container *focus = seat_get_focus(seat);
|
struct sway_container *focus = seat_get_focus(seat);
|
||||||
render_container(output, damage, workspace, focus == workspace);
|
render_container(output, damage, workspace, focus == workspace);
|
||||||
|
render_floating(output, damage);
|
||||||
|
|
||||||
render_unmanaged(output, damage,
|
render_unmanaged(output, damage,
|
||||||
&root_container.sway_root->xwayland_unmanaged);
|
&root_container.sway_root->xwayland_unmanaged);
|
||||||
render_layer(output, damage,
|
render_layer(output, damage,
|
||||||
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]);
|
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]);
|
||||||
|
|
||||||
render_floating(output, damage);
|
|
||||||
}
|
}
|
||||||
render_layer(output, damage,
|
render_layer(output, damage,
|
||||||
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]);
|
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]);
|
||||||
|
|
Loading…
Reference in a new issue