Merge pull request #4993 from cebem1nt/master

feature: group - add reveal-delay config option for drawer
This commit is contained in:
Alexis Rouillard
2026-07-03 22:35:29 +02:00
committed by GitHub
2 changed files with 19 additions and 1 deletions
+3
View File
@@ -10,6 +10,8 @@
namespace waybar {
class Group : public AModule {
sigc::connection reveal_timeout_;
public:
Group(const std::string&, const std::string&, const Json::Value&, bool);
~Group() override = default;
@@ -26,6 +28,7 @@ class Group : public AModule {
bool is_first_widget = true;
bool is_drawer = false;
bool click_to_reveal = false;
int reveal_delay = 0;
std::string add_class_to_drawer_children;
bool handleMouseEnter(GdkEventCrossing* const& ev) override;
bool handleMouseLeave(GdkEventCrossing* const& ev) override;