Skip to content

Commit

Permalink
Redraw the focus window frame when changing regions with the pointer.
Browse files Browse the repository at this point in the history
fixes #126
  • Loading branch information
LordReg committed May 4, 2016
1 parent 7e685ea commit 0fb39f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spectrwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 0fb39f9

Please sign in to comment.