diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-05-26 16:26:59 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-01 23:14:58 +1000 |
commit | 7d2b33a4589df5cd130936fcb2016fda4014123b (patch) | |
tree | 9ec8206368484539bd9d2e17575925c537fb258b | |
parent | Store swayc coordinates as layout-local (diff) | |
download | sway-7d2b33a4589df5cd130936fcb2016fda4014123b.tar.gz sway-7d2b33a4589df5cd130936fcb2016fda4014123b.tar.zst sway-7d2b33a4589df5cd130936fcb2016fda4014123b.zip |
Render floating views before top layer and unmanaged
-rw-r--r-- | sway/desktop/output.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 8600d049..3dd10ac2 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -904,13 +904,12 @@ static void render_output(struct sway_output *output, struct timespec *when, | |||
904 | struct sway_seat *seat = input_manager_current_seat(input_manager); | 904 | struct sway_seat *seat = input_manager_current_seat(input_manager); |
905 | struct sway_container *focus = seat_get_focus(seat); | 905 | struct sway_container *focus = seat_get_focus(seat); |
906 | render_container(output, damage, workspace, focus == workspace); | 906 | render_container(output, damage, workspace, focus == workspace); |
907 | render_floating(output, damage); | ||
907 | 908 | ||
908 | render_unmanaged(output, damage, | 909 | render_unmanaged(output, damage, |
909 | &root_container.sway_root->xwayland_unmanaged); | 910 | &root_container.sway_root->xwayland_unmanaged); |
910 | render_layer(output, damage, | 911 | render_layer(output, damage, |
911 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]); | 912 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]); |
912 | |||
913 | render_floating(output, damage); | ||
914 | } | 913 | } |
915 | render_layer(output, damage, | 914 | render_layer(output, damage, |
916 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]); | 915 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]); |