commit 4ad18368e0848e9477a9ea8d5eda9217d48f6c56
parent baafccfc6051cfab62cac12ba4ecccb8152d0cc3
Author: Lucas de Sena <lucas@seninha.org>
Date: Tue, 25 Jul 2023 13:58:38 -0300
reload theme after set resources
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/xdraw.c b/xdraw.c
@@ -592,7 +592,7 @@ buttonrightdecorate(Window button, Pixmap pix, int style, int pressed)
drawcommit(pix, button);
}
-void
+static void
reloadtheme(void)
{
Pixmap pix;
@@ -791,4 +791,5 @@ setresources(char *xrm)
break;
}
}
+ reloadtheme();
}