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:
parent
3d1efe8661
commit
378b2acca6
12 changed files with 86 additions and 69 deletions
|
|
@ -110,7 +110,7 @@
|
|||
Display-related environment variables </h2>
|
||||
|
||||
<p>
|
||||
The following are a few of the environment variables supported by Simple DirectMedia Layer (libSD) — which Tux Paint utilizes for displaying graphics, playing sounds, and receiving mouse, keyboard, and joystick input — and which may be useful to users of Tux Paint.
|
||||
The following are a few of the environment variables supported by Simple DirectMedia Layer (libSDL) — which Tux Paint utilizes for displaying graphics, playing sounds, and receiving mouse, keyboard, and joystick input — and which may be useful to users of Tux Paint.
|
||||
<dl>
|
||||
<dt>
|
||||
<code>SDL_VIDEO_ALLOW_SCREENSAVER</code>
|
||||
|
|
@ -124,7 +124,7 @@
|
|||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
Requests where to position Tux Paint's window. Normally set to "<code>center</code>" by Tux Paint itself, unless the environment variable is already set (e.g., to "<code>nopref</code>", meaning "no preference"). </p>
|
||||
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 "<code>nopref</code>" (meaning "no preference"), Simple DirectMedia Layer (libSDL) decides. Can be set to an <code>X,Y</code> coordinate (e.g. <code>200,100</code>), or "<code>center</code>" (meaning "center"). </p>
|
||||
</dd>
|
||||
|
||||
</dl>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue