Having a problem trying to get proper fullscreen in linux.
I'm using 1440x900 on desktop. When i set SDL to use 1280x720 as fullscreen, it does change screen resolution. But if i drag the mouse cursor to the bottom or right edge of the game screen, it "scrolls" the screen beyond the game surface and makes part of the desktop visible.
Here's how I set the window/screen:
gameWindow = SDL_CreateWindow( "SDL Tutorial", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, screenWidth, screenHeight, SDL_WINDOW_FULLSCREEN | SDL_WINDOW_BORDERLESS ); }
- Am i missing some flag(s) perhaps?
- Is this a common problem? I'm on Linux Mint MATE (Rosa).
- This problem also occurs when trying to run the same build in an Openbox session.
- Using nVidia drivers (x64, v340.96) from nvidia.com, on 9600 GT card(s). No twin/dual screen or second Workspaces.
Any good tips on how to avoid or workaround this issue?