mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
wayland: Expose xdg_toplevel to SysWM
This commit is contained in:
@@ -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! */
|
||||
|
||||
Reference in New Issue
Block a user