mirror of https://github.com/0intro/wmii
Focus frames on drop after moving.
This commit is contained in:
parent
44aa7a7730
commit
3636937420
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue