diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-02-21 20:57:45 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-18 18:36:54 +0300 |
commit | bac3ab552683516ee5a09632468cd8de529d311f (patch) | |
tree | 32d0a8118069125b0f2631f288709d2301dd557a /sway | |
parent | 9a579666068d62b9354a39941e1ac8c1f4a58093 (diff) |
seat: Remove dead seatop_render function
Diffstat (limited to 'sway')
-rw-r--r-- | sway/desktop/render.c | 9 | ||||
-rw-r--r-- | sway/input/seat.c | 6 |
2 files changed, 0 insertions, 15 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c index 60431d79..23ced7a1 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c @@ -973,13 +973,6 @@ static void render_floating(struct render_context *ctx) { } } -static void render_seatops(struct render_context *ctx) { - struct sway_seat *seat; - wl_list_for_each(seat, &server.input->seats, link) { - seatop_render(seat, ctx); - } -} - void output_render(struct render_context *ctx) { struct wlr_output *wlr_output = ctx->output->wlr_output; struct sway_output *output = ctx->output; @@ -1072,8 +1065,6 @@ void output_render(struct render_context *ctx) { &output->shell_layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]); } - render_seatops(ctx); - struct sway_seat *seat = input_manager_current_seat(); struct sway_container *focus = seat_get_focused_container(seat); if (focus && focus->view) { diff --git a/sway/input/seat.c b/sway/input/seat.c index b8daa297..75fea484 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c @@ -1691,12 +1691,6 @@ void seatop_end(struct sway_seat *seat) { seat->seatop_impl = NULL; } -void seatop_render(struct sway_seat *seat, struct render_context *ctx) { - if (seat->seatop_impl->render) { - seat->seatop_impl->render(seat, ctx); - } -} - bool seatop_allows_set_cursor(struct sway_seat *seat) { return seat->seatop_impl->allow_set_cursor; } |