From: Reginald Kennedy Date: Wed, 4 May 2016 16:59:14 +0000 (+0800) Subject: Redraw the focus window frame when changing regions with the pointer. X-Git-Tag: SPECTRWM_3_0_1~1 X-Git-Url: https://code.delx.au/spectrwm/commitdiff_plain/0fb39f91df94ac144f7364259225214d773e1b7f Redraw the focus window frame when changing regions with the pointer. fixes #126 --- 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(); }