| | |
| | | /* |
| | | Simple DirectMedia Layer |
| | | Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.org> |
| | | Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> |
| | | |
| | | This software is provided 'as-is', without any express or implied |
| | | warranty. In no event will the authors be held liable for any damages |
| | |
| | | |
| | | #include "../../SDL_internal.h" |
| | | |
| | | #ifndef _SDL_waylandvideo_h |
| | | #define _SDL_waylandvideo_h |
| | | #ifndef SDL_waylandvideo_h_ |
| | | #define SDL_waylandvideo_h_ |
| | | |
| | | #include <EGL/egl.h> |
| | | #include "wayland-util.h" |
| | |
| | | struct wl_shm *shm; |
| | | struct wl_cursor_theme *cursor_theme; |
| | | struct wl_pointer *pointer; |
| | | struct wl_shell *shell; |
| | | struct { |
| | | /* !!! FIXME: add stable xdg_shell from 1.12 */ |
| | | struct zxdg_shell_v6 *zxdg; |
| | | struct wl_shell *wl; |
| | | } shell; |
| | | struct zwp_relative_pointer_manager_v1 *relative_pointer_manager; |
| | | struct zwp_pointer_constraints_v1 *pointer_constraints; |
| | | struct wl_data_device_manager *data_device_manager; |
| | | |
| | | EGLDisplay edpy; |
| | | EGLContext context; |
| | |
| | | int relative_mouse_mode; |
| | | } SDL_VideoData; |
| | | |
| | | #endif /* _SDL_waylandvideo_h */ |
| | | #endif /* SDL_waylandvideo_h_ */ |
| | | |
| | | /* vi: set ts=4 sw=4 expandtab: */ |