mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
swaynag: drop swaynag_type.font
It's too easy to have this go out of sync with font_description.
This commit is contained in:
parent
fd0af78e43
commit
bd7466e1b7
4 changed files with 5 additions and 12 deletions
|
|
@ -226,10 +226,8 @@ int swaynag_parse_options(int argc, char **argv, struct swaynag *swaynag,
|
|||
break;
|
||||
case 'f': // Font
|
||||
if (type) {
|
||||
free(type->font);
|
||||
pango_font_description_free(type->font_description);
|
||||
type->font = strdup(optarg);
|
||||
type->font_description = pango_font_description_from_string(type->font);
|
||||
type->font_description = pango_font_description_from_string(optarg);
|
||||
}
|
||||
break;
|
||||
case 'l': // Detailed Message
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue