wayland: Enable relative pointer mode based on the window flag

This can be toggled per-window, so use the individual window flags instead of the global toggle to selectively enable it only for the relevant window in a multi-seat scenario, as is already done with keyboard and pointer grabs.
This commit is contained in:
Frank Praznik
2025-05-07 13:10:24 -04:00
parent 968222e74f
commit b0a282e31f
7 changed files with 55 additions and 73 deletions

View File

@@ -96,9 +96,7 @@ struct SDL_VideoData
int output_count;
int output_max;
bool relative_mode_enabled;
bool display_externally_owned;
bool scale_to_display_enabled;
};