aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/weltschmerz.vala
diff options
context:
space:
mode:
authorWolfgang Müller2021-06-23 13:21:52 +0200
committerWolfgang Müller2021-06-23 13:21:52 +0200
commitff708b2251ffdc209f23a2275c721532dff2fddb (patch)
tree17513964a52c58b90abb4f5b4ae98715370cd696 /weltschmerz.vala
parent20c7bc5cdf540094640a18f59ebb4a71bf118ea1 (diff)
downloadweltschmerz-ff708b2251ffdc209f23a2275c721532dff2fddb.tar.gz
Define a reasonable minimum size
Previously, in commit c49fbfb (Set minimum width and height in window geometry, 2021-06-17), we set the minimum size of the window to one cell. We do not yet include our fixes from 89f8571 (Calculate base_width dynamically, 2021-06-18) and so do not account for the scrollbar when setting the minimum size hints. A minimum size of one cell can lead to issues like [1] when resizing aggressively. A fix for this has been committed in [2], but not yet merged to any release branch. Setting the minimum size to larger values seems to work around this problem. Therefore, define a minimum window size of 28 x 3 cells - just big enough to still fit the search overlay. Make sure to include base_height and base_width so that the right size will be reported to the window manager. [1] https://gitlab.gnome.org/GNOME/vte/-/issues/340 [2] https://gitlab.gnome.org/GNOME/vte/-/commit/b333d66879963637099dc0bc5a702f50f34da67e
Diffstat (limited to 'weltschmerz.vala')
0 files changed, 0 insertions, 0 deletions