Focus frames on drop after moving.

This commit is contained in:
Kris Maglione 2008-12-09 20:48:58 -05:00
parent 44aa7a7730
commit 3636937420
1 changed files with 3 additions and 1 deletions

View File

@ -450,11 +450,13 @@ thcol(Frame *f) {
if(fp) if(fp)
fp->colr.max.x += labelh(def.font); fp->colr.max.x += labelh(def.font);
} }
/* XXX: Multihead. */ /* XXX: Multihead. */
if(!a->frame && !a->floating && f->view->firstarea->next) if(!a->frame && !a->floating && f->view->firstarea->next)
area_destroy(a); area_destroy(a);
frame_focus(f);
goto done; goto done;
case ButtonPress: case ButtonPress:
if(button == 2) if(button == 2)