mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-28 18:44:17 +00:00
Fix focusclient
This commit is contained in:
parent
bea9df4c05
commit
e238e7f418
2
dwl.c
2
dwl.c
@ -1357,7 +1357,7 @@ mapnotify(struct wl_listener *listener, void *data)
|
|||||||
oldfocus->mon == c->mon && oldfocus->tags == c->tags &&
|
oldfocus->mon == c->mon && oldfocus->tags == c->tags &&
|
||||||
!c->isfloating && c->mon->lt[c->mon->sellt]->arrange) {
|
!c->isfloating && c->mon->lt[c->mon->sellt]->arrange) {
|
||||||
maximizeclient(oldfocus);
|
maximizeclient(oldfocus);
|
||||||
focusclient(c, oldfocus, 1);
|
focusclient(c, 1);
|
||||||
/* If a fullscreen client on the same monitor and tag as the new client
|
/* 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
|
* was previously focused and the new client isn't floating, give it
|
||||||
* back focus and size */
|
* back focus and size */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user