aboutsummaryrefslogtreecommitdiff
path: root/src/comet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/comet.c')
-rw-r--r--src/comet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comet.c b/src/comet.c
index 586245f..a969677 100644
--- a/src/comet.c
+++ b/src/comet.c
@@ -293,8 +293,6 @@ int main(int argc, char **argv)
// Dwm tags
DwmIpc *dwm = dwm_create(state, "/tmp/dwm.sock");
- // FIXME: BUG! Explodes if the buttons are not loaded with the left first!!!
- // And I have no clue as to why!!!!!
dwm_register_tags(dwm, color, purple, text_color, line_color);
register_buttons(state, color, line_color, text_color);
@@ -363,6 +361,8 @@ int main(int argc, char **argv)
button_group_append(group, menu);
state_add_button(state, group);
+ state_order_button(state);
+
connect_attach_state(con, state);
connect_attach_source(con);