diff options
Diffstat (limited to 'src/dwm.c')
| -rw-r--r-- | src/dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -184,7 +184,7 @@ static void ipc_handle(DwmIpc *dwm, DwmIpcMessage type, char *reply, uint32_t re for (int i = 0; i < 9; i++) dwm->tags[i]->color = selected & (1 << i) ? dwm->selected : dwm->color; - state_redraw(dwm->state, false); + state_request_redraw(dwm->state, false); } } else if (JSON_FIELD(reader, IPC_EVENT_CLIENT_FOCUS_CHANGE)) { log_debug("Handling dwm ipc event [event=%s]", IPC_EVENT_CLIENT_FOCUS_CHANGE); @@ -246,7 +246,7 @@ static void ipc_handle(DwmIpc *dwm, DwmIpcMessage type, char *reply, uint32_t re } dwm->change_title = false; - state_redraw(dwm->state, true); + state_request_redraw(dwm->state, true); json_reader_end_member(reader); } break; |
