From c640c3015f3a7ea2987bd7854d13ff282f90804f Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Tue, 21 Nov 2023 19:55:47 -0500 Subject: scene_graph: Port seat drag icons --- sway/desktop/render.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'sway/desktop/render.c') 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 } #endif -static void render_drag_icons(struct render_context *ctx, struct wl_list *drag_icons) { - struct render_data data = { - .alpha = 1.0f, - .ctx = ctx, - }; - output_drag_icons_for_each_surface(ctx->output, drag_icons, - render_surface_iterator, &data); -} - // _box.x and .y are expected to be layout-local // _box.width and .height are expected to be output-buffer-local void render_rect(struct render_context *ctx, const struct wlr_box *_box, @@ -1131,7 +1122,6 @@ render_overlay: &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]); render_layer_popups(ctx, &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]); - render_drag_icons(ctx, &root->drag_icons); renderer_end: pixman_region32_fini(&transformed_damage); -- cgit v1.2.3