FreeRDP
Loading...
Searching...
No Matches
sdl_wayland.hpp
1
19#pragma once
20
21#include <SDL3/SDL.h>
22
23/* Native Wayland helpers for RAIL client interactive move/resize. */
24
25/* Bind the seat/pointer early (at window creation) or the first move's press serial is missed. */
26void sdl_wayland_move_prepare(SDL_Window* window);
27
28/* Begin an interactive move using the latest button-press serial; call while the button is held. */
29bool sdl_wayland_begin_move(SDL_Window* window);
30
31/* Begin a compositor-interactive resize; `xdgEdge` is an XDG_TOPLEVEL_RESIZE_EDGE_* value. */
32bool sdl_wayland_begin_resize(SDL_Window* window, uint32_t xdgEdge);