The International Simutrans Forum

 

Author Topic: Fix for expanding main window when using SDL2 backend  (Read 505 times)

0 Members and 1 Guest are viewing this topic.

Offline ceeac

  • Devotee
  • *
  • Posts: 269
Fix for expanding main window when using SDL2 backend
« on: April 14, 2020, 08:24:50 PM »
This fixes a bug when using the SDL2 backend: When expanding the main window by dragging the right hand border, the height of the window increases in addition to the width.
The solution is to not resize the window again in response to a resize event. :)

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10828
  • Languages: De,EN,JP
Re: Fix for expanding main window when using SDL2 backend
« Reply #1 on: April 21, 2020, 01:57:40 PM »
Thanks, in in r9034