mirror of https://github.com/libsdl-org/SDL.git
wayland: Fix libdecor_dispatch signature
The function returns an int, not a bool.
(cherry picked from commit f47169fcba)
This commit is contained in:
parent
c1307133ce
commit
d41985cfbc
|
|
@ -204,7 +204,7 @@ SDL_WAYLAND_SYM(bool, libdecor_configuration_get_content_size, (struct libdecor_
|
||||||
int *))
|
int *))
|
||||||
SDL_WAYLAND_SYM(bool, libdecor_configuration_get_window_state, (struct libdecor_configuration *,\
|
SDL_WAYLAND_SYM(bool, libdecor_configuration_get_window_state, (struct libdecor_configuration *,\
|
||||||
enum libdecor_window_state *))
|
enum libdecor_window_state *))
|
||||||
SDL_WAYLAND_SYM(bool, libdecor_dispatch, (struct libdecor *, int))
|
SDL_WAYLAND_SYM(int, libdecor_dispatch, (struct libdecor *, int))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef SDL_WAYLAND_MODULE
|
#undef SDL_WAYLAND_MODULE
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue