aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/render.c
diff options
context:
space:
mode:
authorLibravatar Alexander Orzechowski <orzechowski.alexander@gmail.com>2022-03-01 16:19:23 -0500
committerLibravatar Kirill Primak <vyivel@eclair.cafe>2024-01-18 18:36:54 +0300
commitb4d7e84d3852ea93d2aab22f5993f84a7060b950 (patch)
treeb3b3e32af7044e3af6679482a861e650e20eed62 /sway/desktop/render.c
parentlayer-shell: don't configure uninitialized surfaces (diff)
downloadsway-b4d7e84d3852ea93d2aab22f5993f84a7060b950.tar.gz
sway-b4d7e84d3852ea93d2aab22f5993f84a7060b950.tar.zst
sway-b4d7e84d3852ea93d2aab22f5993f84a7060b950.zip
desktop: Rename layers to shell_layers
This code will be deleted later, but for the time being rename it so it doesn't conflict with future properties.
Diffstat (limited to 'sway/desktop/render.c')
-rw-r--r--sway/desktop/render.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c
index c9a306cf..168c941b 100644
--- a/sway/desktop/render.c
+++ b/sway/desktop/render.c
@@ -1098,9 +1098,9 @@ void output_render(struct render_context *ctx) {
1098 }); 1098 });
1099 1099
1100 render_layer_toplevel(ctx, 1100 render_layer_toplevel(ctx,
1101 &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND]); 1101 &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND]);
1102 render_layer_toplevel(ctx, 1102 render_layer_toplevel(ctx,
1103 &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM]); 1103 &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM]);
1104 1104
1105 render_workspace(ctx, workspace, workspace->current.focused); 1105 render_workspace(ctx, workspace, workspace->current.focused);
1106 render_floating(ctx); 1106 render_floating(ctx);
@@ -1108,14 +1108,14 @@ void output_render(struct render_context *ctx) {
1108 render_unmanaged(ctx, &root->xwayland_unmanaged); 1108 render_unmanaged(ctx, &root->xwayland_unmanaged);
1109#endif 1109#endif
1110 render_layer_toplevel(ctx, 1110 render_layer_toplevel(ctx,
1111 &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]); 1111 &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]);
1112 1112
1113 render_layer_popups(ctx, 1113 render_layer_popups(ctx,
1114 &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND]); 1114 &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND]);
1115 render_layer_popups(ctx, 1115 render_layer_popups(ctx,
1116 &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM]); 1116 &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM]);
1117 render_layer_popups(ctx, 1117 render_layer_popups(ctx,
1118 &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]); 1118 &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]);
1119 } 1119 }
1120 1120
1121 render_seatops(ctx); 1121 render_seatops(ctx);
@@ -1128,9 +1128,9 @@ void output_render(struct render_context *ctx) {
1128 1128
1129render_overlay: 1129render_overlay:
1130 render_layer_toplevel(ctx, 1130 render_layer_toplevel(ctx,
1131 &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]); 1131 &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]);
1132 render_layer_popups(ctx, 1132 render_layer_popups(ctx,
1133 &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]); 1133 &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]);
1134 render_drag_icons(ctx, &root->drag_icons); 1134 render_drag_icons(ctx, &root->drag_icons);
1135 1135
1136renderer_end: 1136renderer_end: