1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Implement DisplayServer.window_start_resize.

This commit is contained in:
Pāvels Nadtočajevs
2024-12-17 20:01:56 +02:00
parent 4cf02312f6
commit 7f0b4e58b0
14 changed files with 340 additions and 2 deletions

View File

@@ -993,6 +993,13 @@ void DisplayServerWayland::window_start_drag(WindowID p_window) {
wayland_thread.window_start_drag(p_window);
}
void DisplayServerWayland::window_start_resize(WindowResizeEdge p_edge, WindowID p_window) {
MutexLock mutex_lock(wayland_thread.mutex);
ERR_FAIL_INDEX(int(p_edge), WINDOW_EDGE_MAX);
wayland_thread.window_start_resize(p_edge, p_window);
}
void DisplayServerWayland::cursor_set_shape(CursorShape p_shape) {
ERR_FAIL_INDEX(p_shape, CURSOR_MAX);