diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2023-11-21 19:55:47 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-18 18:36:54 +0300 |
commit | c640c3015f3a7ea2987bd7854d13ff282f90804f (patch) | |
tree | d292934709dcd71bdb244546b1684e690e0511f4 /sway/desktop/render.c | |
parent | renderer: Render scene_graph (diff) | |
download | sway-c640c3015f3a7ea2987bd7854d13ff282f90804f.tar.gz sway-c640c3015f3a7ea2987bd7854d13ff282f90804f.tar.zst sway-c640c3015f3a7ea2987bd7854d13ff282f90804f.zip |
scene_graph: Port seat drag icons
Diffstat (limited to 'sway/desktop/render.c')
-rw-r--r-- | sway/desktop/render.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c index 168c941b..735dddb8 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c | |||
@@ -184,15 +184,6 @@ static void render_unmanaged(struct render_context *ctx, struct wl_list *unmanag | |||
184 | } | 184 | } |
185 | #endif | 185 | #endif |
186 | 186 | ||
187 | static void render_drag_icons(struct render_context *ctx, struct wl_list *drag_icons) { | ||
188 | struct render_data data = { | ||
189 | .alpha = 1.0f, | ||
190 | .ctx = ctx, | ||
191 | }; | ||
192 | output_drag_icons_for_each_surface(ctx->output, drag_icons, | ||
193 | render_surface_iterator, &data); | ||
194 | } | ||
195 | |||
196 | // _box.x and .y are expected to be layout-local | 187 | // _box.x and .y are expected to be layout-local |
197 | // _box.width and .height are expected to be output-buffer-local | 188 | // _box.width and .height are expected to be output-buffer-local |
198 | void render_rect(struct render_context *ctx, const struct wlr_box *_box, | 189 | void render_rect(struct render_context *ctx, const struct wlr_box *_box, |
@@ -1131,7 +1122,6 @@ render_overlay: | |||
1131 | &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]); | 1122 | &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]); |
1132 | render_layer_popups(ctx, | 1123 | render_layer_popups(ctx, |
1133 | &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]); | 1124 | &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]); |
1134 | render_drag_icons(ctx, &root->drag_icons); | ||
1135 | 1125 | ||
1136 | renderer_end: | 1126 | renderer_end: |
1137 | pixman_region32_fini(&transformed_damage); | 1127 | pixman_region32_fini(&transformed_damage); |