diff --git a/include/modules/i3.hpp b/include/modules/i3.hpp index 6d214255..f2b035f0 100644 --- a/include/modules/i3.hpp +++ b/include/modules/i3.hpp @@ -22,13 +22,13 @@ namespace modules { }; struct workspace { - explicit workspace(int index, state state_, label_t&& label) + explicit workspace(int index, enum state state_, label_t&& label) : index(index), state(state_), label(forward(label)) {} operator bool(); int index; - state state; + enum state state; label_t label; };