Accept SDL_VIDEO_WINDOW_POS in --fullscreen too

This seems to allow me to specify which display (monitor) to make
Tux Paint appear on my two-monitor set-up (laptop + external monitor)!

Closes https://sourceforge.net/p/tuxpaint/bugs/277/
This commit is contained in:
Bill Kendrick 2023-04-28 00:13:32 -07:00
parent 3d1efe8661
commit 378b2acca6
12 changed files with 86 additions and 69 deletions

View file

@ -79,7 +79,7 @@ Variábeis de contorno relacionadas co idioma
Variábeisbles de contorno relacionadas co que se amosa
A seguir amósanse algunhas das variábeis de contorno compatíbeis con
Simple DirectMedia Layer (libSD) — que Tux Paint utiliza para amosar
Simple DirectMedia Layer (libSDL) — que Tux Paint utiliza para amosar
gráficos, reproducir sons e recibir entrada do rato, teclado e joystick —
e que poden ser útiles para os usuarios de Tux Paint.
@ -92,6 +92,9 @@ Variábeisbles de contorno relacionadas co que se amosa
SDL_VIDEO_WINDOW_POS
Requests where to position Tux Paint's window. Normally set to
"center" by Tux Paint itself, unless the environment variable is
already set (e.g., to "nopref", meaning "no preference").
Requests where to position Tux Paint's window, and can be used to
specify what display to place a fullscreen Tux Paint in a
multi-monitor configuration. If not set, or set to "nopref"
(meaning "no preference"), Simple DirectMedia Layer (libSDL)
decides. Can be set to an X,Y coordinate (e.g. 200,100), or
"center" (meaning "center").