Move created Fullscreen window to another display

How to 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 ?

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

I think that’s the only way at the moment.