From 09eac084494d90310a5a27a01b32dc515f6db352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Grondek?= Date: Tue, 27 Feb 2024 15:46:56 +0100 Subject: [PATCH] Update dwm module after merge 3.7.1 version --- include/modules/dwm.hpp | 2 +- src/modules/dwm.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/modules/dwm.hpp b/include/modules/dwm.hpp index f5f65567..70ca8a81 100644 --- a/include/modules/dwm.hpp +++ b/include/modules/dwm.hpp @@ -10,7 +10,7 @@ POLYBAR_NS namespace modules { class dwm_module : public event_module { public: - explicit dwm_module(const bar_settings&, string); + explicit dwm_module(const bar_settings&, string, const config&); using tag_mask_t = unsigned int; using window_t = unsigned int; diff --git a/src/modules/dwm.cpp b/src/modules/dwm.cpp index 7db310b3..4eea926c 100644 --- a/src/modules/dwm.cpp +++ b/src/modules/dwm.cpp @@ -15,7 +15,7 @@ POLYBAR_NS namespace modules { template class module; - dwm_module::dwm_module(const bar_settings& bar, string name_) : event_module(bar, move(name_)) { + dwm_module::dwm_module(const bar_settings& bar, string name_, const config& conf) : event_module(bar, move(name_), conf) { m_router->register_action_with_data(EVENT_LAYOUT_SET, [this](const std::string& data) { generic_action(EVENT_LAYOUT_SET,data); }); m_router->register_action_with_data(EVENT_TAG_VIEW, [this](const std::string& data) { generic_action(EVENT_TAG_VIEW,data);; }); m_router->register_action_with_data(EVENT_TAG_TOGGLE_VIEW, [this](const std::string& data) { generic_action(EVENT_TAG_TOGGLE_VIEW,data); });