theme: demote padding.height warning

...from WLR_ERROR to WLR_INFO to avoid 'false' logging when Openbox themes
contain the padding.height settings. Whilst this option is not supported,
the visual appearance is very close to that of Openbox with common themes.

The background to this is that Labwc theme specification has diverged
slightly from that of Openbox with respect to titlebar padding to support
more contemporary looks whilst avoiding breaking changes. For full details
see commit: e16e78e7a4

Suggested-by: @Consolatis
This commit is contained in:
Johan Malm 2024-12-23 21:29:46 +00:00 committed by Hiroaki Yamamoto
parent 16dbdc64e5
commit af978c7ad7

View file

@ -637,7 +637,7 @@ entry(struct theme *theme, const char *key, const char *value)
wlr_log(WLR_ERROR, "titlebar.height is no longer supported"); wlr_log(WLR_ERROR, "titlebar.height is no longer supported");
} }
if (match_glob(key, "padding.height")) { if (match_glob(key, "padding.height")) {
wlr_log(WLR_ERROR, "padding.height is no longer supported"); wlr_log(WLR_INFO, "padding.height is no longer supported");
} }
if (match_glob(key, "window.active.border.color")) { if (match_glob(key, "window.active.border.color")) {