1
1
mirror of https://github.com/swaywm/sway synced 2024-11-23 09:12:09 +01:00
sway/common
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
..
background-image.c cairo: Replace <cairo/cairo.h> by <cairo.h> 2021-05-10 10:28:32 +02:00
cairo.c cairo: Replace <cairo/cairo.h> by <cairo.h> 2021-05-10 10:28:32 +02:00
ipc-client.c ipc: fix aligment issue of data buffer 2020-07-30 22:02:42 -04:00
list.c Merge pull request #3271 from ianyfan/list-cleanup 2018-12-09 21:50:19 +10:00
log.c common/log: write log importance 2020-12-10 09:26:02 +01:00
loop.c common/loop: check return of realloc 2020-07-30 22:02:42 -04:00
meson.build Add wayland_client dependency to common 2020-06-06 11:03:04 +02:00
pango.c Use fixed titlebar heights 2021-08-26 20:16:14 +02:00
stringop.c common: make 'lenient_strcmp' arguments const 2020-12-04 10:49:49 +01:00
util.c input: Move get_current_time_msec in from util 2021-06-23 09:55:36 +02:00