diff options
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r-- | include/sway/input/seat.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index 7b2d3d07..6d29cf3b 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h | |||
@@ -12,6 +12,7 @@ | |||
12 | #include "sway/input/text_input.h" | 12 | #include "sway/input/text_input.h" |
13 | 13 | ||
14 | struct sway_seat; | 14 | struct sway_seat; |
15 | struct render_context; | ||
15 | 16 | ||
16 | struct sway_seatop_impl { | 17 | struct sway_seatop_impl { |
17 | void (*button)(struct sway_seat *seat, uint32_t time_msec, | 18 | void (*button)(struct sway_seat *seat, uint32_t time_msec, |
@@ -49,8 +50,7 @@ struct sway_seatop_impl { | |||
49 | uint32_t time_msec, enum wlr_tablet_tool_tip_state state); | 50 | uint32_t time_msec, enum wlr_tablet_tool_tip_state state); |
50 | void (*end)(struct sway_seat *seat); | 51 | void (*end)(struct sway_seat *seat); |
51 | void (*unref)(struct sway_seat *seat, struct sway_container *con); | 52 | void (*unref)(struct sway_seat *seat, struct sway_container *con); |
52 | void (*render)(struct sway_seat *seat, struct sway_output *output, | 53 | void (*render)(struct sway_seat *seat, struct render_context *ctx); |
53 | const pixman_region32_t *damage); | ||
54 | bool allow_set_cursor; | 54 | bool allow_set_cursor; |
55 | }; | 55 | }; |
56 | 56 | ||
@@ -356,8 +356,7 @@ void seatop_unref(struct sway_seat *seat, struct sway_container *con); | |||
356 | * Instructs a seatop to render anything that it needs to render | 356 | * Instructs a seatop to render anything that it needs to render |
357 | * (eg. dropzone for move-tiling) | 357 | * (eg. dropzone for move-tiling) |
358 | */ | 358 | */ |
359 | void seatop_render(struct sway_seat *seat, struct sway_output *output, | 359 | void seatop_render(struct sway_seat *seat, struct render_context *ctx); |
360 | const pixman_region32_t *damage); | ||
361 | 360 | ||
362 | bool seatop_allows_set_cursor(struct sway_seat *seat); | 361 | bool seatop_allows_set_cursor(struct sway_seat *seat); |
363 | 362 | ||