wayland: Fix libdecor_dispatch signature

The function returns an int, not a bool.

(cherry picked from commit f47169fcba)
This commit is contained in:
Frank Praznik authored and Sam Lantinga committed 2022-11-23 15:17:52 -08:00
1 parent 242ce20cbf
commit 3eaf56894e
1 file changed
+1 -1
+1 -1
View File
@@ -211,7 +211,7 @@ SDL_WAYLAND_SYM(bool, libdecor_configuration_get_content_size, (struct libdecor_
int *))
SDL_WAYLAND_SYM(bool, libdecor_configuration_get_window_state, (struct libdecor_configuration *,\
enum libdecor_window_state *))
SDL_WAYLAND_SYM(bool, libdecor_dispatch, (struct libdecor *, int))
SDL_WAYLAND_SYM(int, libdecor_dispatch, (struct libdecor *, int))
#endif
#undef SDL_WAYLAND_MODULE