X-Git-Url: https://code.delx.au/spectrwm/blobdiff_plain/7e685eaa4c8a2483a9d0152f47fdb1b70d6ccfec..0fb39f91df94ac144f7364259225214d773e1b7f:/spectrwm.c diff --git a/spectrwm.c b/spectrwm.c index e566741..f68e08b 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -4144,6 +4144,10 @@ set_region(struct swm_region *r) r->s->r_focus = r; + /* Update the focus window frame on the now unfocused region. */ + if (rf && rf->ws->focus) + draw_frame(rf->ws->focus); + ewmh_update_current_desktop(); }