From d48eebd4d3d92d7a8f39cf28574dd8543c105b8a Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 3 Nov 2022 14:10:18 +0100 Subject: [PATCH] fix: use GTK_STYLE_PROVIDER_PRIORITY_APPLICATION --- src/AButton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AButton.cpp b/src/AButton.cpp index 103cf6c..021ad97 100644 --- a/src/AButton.cpp +++ b/src/AButton.cpp @@ -22,7 +22,7 @@ AButton::AButton(const Json::Value& config, const std::string& name, const std:: /* https://github.com/Alexays/Waybar/issues/1731 */ auto css = Gtk::CssProvider::create(); css->load_from_data("button { all: unset; min-width: 0; }"); - button_.get_style_context()->add_provider(css, GTK_STYLE_PROVIDER_PRIORITY_USER); + button_.get_style_context()->add_provider(css, GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); if (!id.empty()) { button_.get_style_context()->add_class(id);