mirror of
https://github.com/swaywm/sway.git
synced 2026-03-10 05:34:03 -04:00
Reuse parsed PangoFontDescription
Avoids parsing the configured font each time text is rendered.
This commit is contained in:
parent
75605491a5
commit
80e386fd97
11 changed files with 52 additions and 49 deletions
|
|
@ -4,7 +4,8 @@
|
|||
struct swaynag_type {
|
||||
char *name;
|
||||
|
||||
char *font;
|
||||
char *font; // Used for debugging.
|
||||
PangoFontDescription *font_description;
|
||||
char *output;
|
||||
uint32_t anchors;
|
||||
int32_t layer; // enum zwlr_layer_shell_v1_layer or -1 if unset
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue