diff options
Diffstat (limited to 'src/dwm.c')
| -rw-r--r-- | src/dwm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -398,7 +398,7 @@ static void change_tag_action(Button *btn) ipc_run_command(dwm, "view", args); } -void dwm_register_tags(DwmIpc *dwm, Color color, Color selected, Color text_color, Color line_color) +void dwm_register_tags(DwmIpc *dwm, Color color, Color selected, Color text_color) { if (dwm == NULL) return; @@ -409,7 +409,7 @@ void dwm_register_tags(DwmIpc *dwm, Color color, Color selected, Color text_colo // Tags button for (int i = 0; i < 9; ++i) { char text[] = { '1' + i, '\0' }; - dwm->tags[i] = button_simple_create(PANGO_ALIGN_LEFT, color, line_color); + dwm->tags[i] = button_simple_create(PANGO_ALIGN_LEFT, color); button_simple_set_text(dwm->tags[i], g_strdup(text), text_color); button_simple_set_action(dwm->tags[i], change_tag_action, dwm); state_add_button(dwm->state, dwm->tags[i]); @@ -418,7 +418,7 @@ void dwm_register_tags(DwmIpc *dwm, Color color, Color selected, Color text_colo // This will set the tag names ipc_get_tags(dwm); - dwm->title = button_simple_create(PANGO_ALIGN_CENTER, color, line_color); + dwm->title = button_simple_create(PANGO_ALIGN_CENTER, color); dwm->hidden_title = true; // FIXME: Set the first tag |
