Implement window_start_drag on Windows and Linux.

This commit is contained in:
Pāvels Nadtočajevs 2024-12-16 10:01:07 +02:00
parent 4364ed6ccd
commit 293be04ec8
9 changed files with 82 additions and 1 deletions

View file

@ -986,6 +986,12 @@ DisplayServer::VSyncMode DisplayServerWayland::window_get_vsync_mode(DisplayServ
return DisplayServer::VSYNC_ENABLED;
}
void DisplayServerWayland::window_start_drag(WindowID p_window) {
MutexLock mutex_lock(wayland_thread.mutex);
wayland_thread.window_start_drag(p_window);
}
void DisplayServerWayland::cursor_set_shape(CursorShape p_shape) {
ERR_FAIL_INDEX(p_shape, CURSOR_MAX);