Commit dab33844e386c4d5553eb49c578ccb0ee18bc947

Ethan Lee 2021-08-02T11:58:47

wayland: Fix a warning in handle_configure_xdg_toplevel

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/wayland/SDL_waylandwindow.c b/src/video/wayland/SDL_waylandwindow.c
index d4618f6..80384c7 100644
--- a/src/video/wayland/SDL_waylandwindow.c
+++ b/src/video/wayland/SDL_waylandwindow.c
@@ -205,6 +205,8 @@ handle_configure_xdg_toplevel(void *data,
         case XDG_TOPLEVEL_STATE_TILED_BOTTOM:
             floating = SDL_FALSE;
             break;
+        default:
+            break;
         }
     }