SDL fake fullscreen mode on dual monitor setup under linux
问题 Using SDL 1.3 I want to create fake fullscreen SDL_Window under linux. It is easy if i have only one display. I just got current display mode and created a window. SDL_GetDesktopDisplayMode(0, &mode); SDL_Window *win = SDL_CreateWindow("my window", 0,0,mode.w, mode.h, SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN | SDL_WINDOW_BORDERLESS ); But when i have two displays, things get complicated. The window spreads across multiple monitors. SDL sees only one, double sized virtual display. I tested it with