The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Move created Fullscreen window to another display
subGlitch


Joined: 05 Feb 2017
Posts: 1
How can I move created Fullscreen window to another display ??

It looks like SDL_SetWindowPosition() works only in Windowed mode.

Right now I'm using following workaround:
  • Change window's fullscreen state to Windowed (using SDL_SetWindowFullscreen())
  • Move window to another display
  • Change window's fullscreen state back to Fullscreen

But I feel there is a better way of doing this, right ?
Confused Confused Confused