Browse Source

wayland: Fix libdecor_dispatch signature

The function returns an int, not a bool.
(cherry picked from commit f47169fcba8a27bb0740b6b4993989ff9262c21f)
Frank Praznik 2 years ago
parent
commit
d41985cfbc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/video/wayland/SDL_waylandsym.h

+ 1 - 1
src/video/wayland/SDL_waylandsym.h

@@ -204,7 +204,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