diff options
| author | Federico Angelilli <code@fedang.net> | 2024-03-06 21:36:14 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-03-06 21:36:14 +0100 |
| commit | f7e94e7a0f33cbf6b5ee784974a431d633aada0f (patch) | |
| tree | 4bdfd2a42d198c0a295880cf433ec3ee5c8863fb /src/comet.c | |
| parent | f4b80335df97b6136682b1acb71ecf4766d636ed (diff) | |
Fix button ordering bug
Diffstat (limited to 'src/comet.c')
| -rw-r--r-- | src/comet.c | 4 |
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); |
