From 1fd244601b41476a0b4cb5c39858d35eb643ae46 Mon Sep 17 00:00:00 2001 From: Vinayak Rastogi <107737503+vinayakrastogi@users.noreply.github.com> Date: Mon, 22 Jun 2026 16:23:12 +0530 Subject: [PATCH] st-theme-node: allow unitless integer for background-blur property --- src/st/st-theme-node.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/st/st-theme-node.c b/src/st/st-theme-node.c index 3e987f5b89..92cef90f63 100644 --- a/src/st/st-theme-node.c +++ b/src/st/st-theme-node.c @@ -1960,6 +1960,16 @@ _st_theme_node_ensure_background (StThemeNode *node) else node->background_position_set = TRUE; } + else if (strcmp (property_name, "-blur") == 0) + { + CRTerm *term = decl->value; + if (term != NULL && + term->type == TERM_NUMBER && + term->content.num->type == NUM_GENERIC) + node->background_blur = (int) term->content.num->val; + else + get_length_from_term_int (node, decl->value, FALSE, &node->background_blur); + } else if (strcmp (property_name, "-repeat") == 0) { if (decl->value->type == TERM_IDENT)