Fix focusclient

This commit is contained in:
Stivvo 2021-02-10 16:56:08 +01:00
parent bea9df4c05
commit e238e7f418

2
dwl.c
View File

@ -1357,7 +1357,7 @@ mapnotify(struct wl_listener *listener, void *data)
oldfocus->mon == c->mon && oldfocus->tags == c->tags &&
!c->isfloating && c->mon->lt[c->mon->sellt]->arrange) {
maximizeclient(oldfocus);
focusclient(c, oldfocus, 1);
focusclient(c, 1);
/* If a fullscreen client on the same monitor and tag as the new client
* was previously focused and the new client isn't floating, give it
* back focus and size */