Skip to content

Commit

Permalink
Sync SDL3 wiki -> header
Browse files Browse the repository at this point in the history
  • Loading branch information
SDLWikiBot committed May 13, 2024
1 parent df3fea8 commit 8b5f0d0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions include/SDL3/SDL_hints.h
Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit 8b5f0d0

Please sign in to comment.