swayfx/sway/tree
Hugo Osvaldo Barrera 62d90a8e95 Use fixed titlebar heights
Use fixed titlebar heights. The default height is calculated based on
font metrics for the configured font and current locale.

Some testing with titles with emoji and CJK characters (which are
substantially higher in my setup) shows that the titlebars retain their
initial value, text does shift up or down, and all titlebars always
remain aligned.

Also drop some also now-unecessary title_height calculations.

Makes also needed to be updated, since they should be positioned with
the same rules.
2021-08-26 20:16:14 +02:00
..
arrange.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
container.c Use fixed titlebar heights 2021-08-26 20:16:14 +02:00
node.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
output.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
root.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
view.c Use fixed titlebar heights 2021-08-26 20:16:14 +02:00
workspace.c Revert "Add workspace {prev,next}_on_output --create" 2021-06-22 19:00:31 +02:00