diff --git a/include/components/builder.hpp b/include/components/builder.hpp index ebf63f49..5cd8c89c 100644 --- a/include/components/builder.hpp +++ b/include/components/builder.hpp @@ -154,7 +154,7 @@ class builder { if (!label || !*label) return; - auto text = label->m_text; + auto text = label->get(); if (label->m_maxlen > 0 && text.length() > label->m_maxlen) { text = text.substr(0, label->m_maxlen) + "..."; diff --git a/include/components/types.hpp b/include/components/types.hpp index c1d66167..4b2f44dc 100644 --- a/include/components/types.hpp +++ b/include/components/types.hpp @@ -105,4 +105,7 @@ struct action_block { #endif }; +struct wmsettings_bspwm { +}; + LEMONBUDDY_NS_END diff --git a/include/drawtypes/label.hpp b/include/drawtypes/label.hpp index cf283f23..f12386b0 100644 --- a/include/drawtypes/label.hpp +++ b/include/drawtypes/label.hpp @@ -14,23 +14,21 @@ namespace drawtypes { class label : public non_copyable_mixin