Commit Graph
15 Commits
Author SHA1 Message Date
nguyentiendung 2a6e8b132f Fix window not resizing to fit content, causing clipped Apply dialog
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.
2026-08-07 20:03:03 +07:00
Jason Francis 0ed52013dd Create WdHeadForm class 2020-05-09 13:37:18 -04:00
Jason Francis f3f2b9e9e2 Backport GTK4 changes
Includes refactoring to use GMenuModel and GtkEventController
2020-05-08 20:26:33 -04:00
Jason Francis 69564522bc Relicense to GPL3+, add REUSE compliance
https://reuse.software/spec/
2020-05-08 20:10:27 -04:00
Jason Francis e66756e2c4 Show headerbar when window is fullscreen
Fixes #14
2020-03-14 21:49:46 -04:00
Jason Francis 54b5fe7e30 Add icon and desktop file 2019-12-10 12:02:17 -05:00
Jason Francis acd95b1664 Use SPDX license identifiers 2019-10-26 16:56:01 -04:00
Jason Francis d9c6f92830 Fix hangups caused by idle events never running 2019-09-09 10:57:02 -04:00
Jason Francis d9b868077a Display grid lines when moving a display 2019-08-27 10:56:03 -04:00
Jason Francis bd8fc3f7d4 Correctly render flipped/rotated screens 2019-08-23 17:35:59 -04:00
Jason Francis 27d7067762 Force roundtrip after applying settings 2019-08-14 14:20:11 -04:00
Jason Francis 3d69ae73d3 Add screen number overlays 2019-08-13 16:38:04 -04:00
Jason Francis 26af01ddc3 Reorder render list when clicking a display 2019-08-06 13:26:25 -04:00
Jason Francis 1fba2b78a8 swap RGB -> BGR when necessary 2019-08-01 11:09:00 -04:00
Jason Francis 2ec122ef32 update name 2019-08-01 11:09:00 -04:00