Files
SDL/src
Frank Praznik ad813a65e7 x11: Fix initial window positioning
Some window managers can send garbage values during the initial mapping of a window, and need the position set again after mapping to ensure proper placement. Position requests sent before mapping can otherwise end up ignored. Ignore initial configure events when initially showing the window, and make sure that the position is set after the window is mapped, either when the window borders appear, or after the initial configure events in the case of borderless windows.

This also eliminates sending excessive/redundant move requests, which can cause strange behavior on some window managers, particularly if done before the window is actually mapped.

Fixes cases of incorrect initial window placement on GNOME + XWayland.
2024-04-14 12:19:00 -04:00
..
2024-04-04 22:07:14 -07:00
2024-03-08 15:52:04 -08:00
2024-01-17 09:24:04 -08:00
2024-04-14 12:19:00 -04:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-03-23 16:36:44 -07:00