mickelson / attract

A graphical front-end for command line emulators that hides the underlying operating system and is intended to be controlled with a joystick or gamepad.
http://attractmode.org
GNU General Public License v3.0
393 stars 115 forks source link

fix xinerama dimensions in windowed mode #689

Closed h0tw1r3 closed 2 years ago

h0tw1r3 commented 2 years ago

When using windowed mode on Linux, the dimension is not calculated correctly resulting in layouts being stretched outside of the viewable area. Typically I set dimensions in the am file to test vertical / cga sizes.

mickelson commented 2 years ago

Hi there! I've come up with a slightly different fix for this issue, it's over here: https://github.com/mickelson/attract/pull/694 Could you test and let me know if it still addresses the issue for you? This patch does a bit more as well (fixes a core dump when xinerama isn't being used, and should keep the old multimonitor behaviour when multimon is turned on)

mickelson commented 2 years ago

Fixed in #694