From 8b5f0d07e995cf216d2268863e0deb77bb621300 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Mon, 13 May 2024 23:11:31 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- include/SDL3/SDL_hints.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/include/SDL3/SDL_hints.h b/include/SDL3/SDL_hints.h index 5aa31e8d3a..56872f0c23 100644 --- a/include/SDL3/SDL_hints.h +++ b/include/SDL3/SDL_hints.h @@ -3093,6 +3093,7 @@ extern "C" { /** * A variable forcing non-DPI-aware Wayland windows to output at 1:1 scaling. + * * This must be set before initializing the video subsystem. * * When this hint is set, Wayland windows that are not flagged as being @@ -3106,9 +3107,12 @@ extern "C" { * - Rounding errors can result with odd window sizes and/or desktop scales, * which can cause the window contents to appear slightly blurry. * - The window may be unusably small on scaled desktops. - * - The window may jump in size when moving between displays of different scale factors. - * - Displays may appear to overlap when using a multi-monitor setup with scaling enabled. - * - Possible loss of cursor precision due to the logical size of the window being reduced. + * - The window may jump in size when moving between displays of different + * scale factors. + * - Displays may appear to overlap when using a multi-monitor setup with + * scaling enabled. + * - Possible loss of cursor precision due to the logical size of the window + * being reduced. * * New applications should be designed with proper DPI awareness handling * instead of enabling this.