wayland: Expose xdg_toplevel to SysWM

This commit is contained in:
Cacodemon345 authored and Ethan Lee committed 2021-09-26 05:53:21 -04:00
1 parent 7a1690eb63
commit b592e78f93
4 files changed
+10

No files matched your search

+1
View File
@@ -292,6 +292,7 @@ struct SDL_SysWMinfo
void *shell_surface; /**< DEPRECATED Wayland shell_surface (window manager handle) */
struct wl_egl_window *egl_window; /**< Wayland EGL window (native window) */
struct xdg_surface *xdg_surface; /**< Wayland xdg surface (window manager handle) */
struct xdg_toplevel *xdg_toplevel; /**< Wayland xdg toplevel role */
} wl;
#endif
#if defined(SDL_VIDEO_DRIVER_MIR) /* no longer available, left for API/ABI compatibility. Remove in 2.1! */