wayland: unvoid some wayland protocol structs

I started doing this in f594482451 for
protocol objects that were newer than the lowest version, but I can't
remember why (some waf-related reason?). This wasn't even followed for
other PRs merged recently like ext-data-control and color-management.
Anyways, it's not needed and works fine if you're on wayland-protocols
1.31 so stop doing this void weirdness.
This commit is contained in:
Dudemanguy
2025-02-17 20:34:21 -06:00
parent 6bfbaf6bc6
commit bfb67c60b2
2 changed files with 2 additions and 4 deletions

View File

@@ -196,8 +196,7 @@ struct vo_wayland_seat {
struct vo_wayland_data_offer *dnd_offer;
struct vo_wayland_data_offer *selection_offer;
struct vo_wayland_text_input *text_input;
/* TODO: unvoid this if required wayland protocols is bumped to 1.32+ */
void *cursor_shape_device;
struct wp_cursor_shape_device_v1 *cursor_shape_device;
uint32_t pointer_enter_serial;
uint32_t pointer_button_serial;
struct xkb_keymap *xkb_keymap;

View File

@@ -111,8 +111,7 @@ struct vo_wayland_state {
int current_content_type;
/* cursor-shape */
/* TODO: unvoid these if required wayland protocols is bumped to 1.32+ */
void *cursor_shape_manager;
struct wp_cursor_shape_manager_v1 *cursor_shape_manager;
/* fifo */
bool has_fifo;