]> git.mdlowis.com Git - proto/labwc.git/commitdiff
theme: tidy up documentation
authorJohan Malm <jgm323@gmail.com>
Sun, 13 Oct 2024 19:43:18 +0000 (20:43 +0100)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Mon, 14 Oct 2024 09:07:13 +0000 (18:07 +0900)
docs/themerc
src/theme.c

index b3de250a240373b22785908827594fa495768d3f..cf485eafa8693fa58b021be41226c0af82681b79 100644 (file)
@@ -33,6 +33,7 @@ window.label.text.justify: center
 
 # window button width and spacing
 window.button.width: 26
+window.button.height: 26
 window.button.spacing: 0
 
 # window button hover effect
index b813219d945ff8d19cb0ef0e65fd33ff468d2c3c..ae2ae4005bbdbf4d398a83681d948eae4569fb81 100644 (file)
@@ -701,6 +701,12 @@ entry(struct theme *theme, const char *key, const char *value)
                theme->window_titlebar_padding_height = get_int_if_positive(
                        value, "window.titlebar.padding.height");
        }
+       if (match_glob(key, "titlebar.height")) {
+               wlr_log(WLR_ERROR, "titlebar.height is no longer supported");
+       }
+       if (match_glob(key, "padding.height")) {
+               wlr_log(WLR_ERROR, "padding.height is no longer supported");
+       }
        if (match_glob(key, "menu.items.padding.x")) {
                theme->menu_item_padding_x = get_int_if_positive(
                        value, "menu.items.padding.x");