mirror of
https://github.com/artizirk/wdisplays.git
synced 2026-10-03 12:55:42 +03:00
GTK3 toplevel windows on Wayland don't grow to accommodate new content once mapped, so when heads are (re)populated asynchronously after the window is shown, or when switching to the "Apply Changes?" header, the window can keep its stale (too small) size and clip the settings panel (Apply/Cancel buttons, Transform, Flipped, etc). This matches #5. - main.c: explicitly resize the window to its natural size after rebuilding the head list and after switching the header stack page. - head.ui: bound the head description label with max-width-chars so a long EDID description string can't force the layout wider than intended even when wrap/ellipsize are set.