mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
a8028d5e8e
Most DEs have the tendency to lose focus when monitor is getting swapped or the resolution changes. That causes X11 exiting fullscreen and setting a lower resolution to fit desktop. Pushing the window back to top, automatically fixes that and X11 enforces fullscreen again and new max resolution. Additionally, XConfigure events are now checked and preferred over XGetWindowAttributes. That saves several to hundreds μs per frame.