From e238e7f4184d87d2e109cab8bcc132def3294a6f Mon Sep 17 00:00:00 2001 From: Stivvo Date: Wed, 10 Feb 2021 16:56:08 +0100 Subject: [PATCH] Fix focusclient --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index cd13f26..06315c0 100644 --- a/dwl.c +++ b/dwl.c @@ -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 */