ソースを参照

wayland: Fix a warning in handle_configure_xdg_toplevel

Ethan Lee 4 年 前
コミット
dab33844e3
1 ファイル変更2 行追加0 行削除
  1. 2 0
      src/video/wayland/SDL_waylandwindow.c

+ 2 - 0
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;
         }
     }