From e02bca9930bfc74129c2cebeb067ad9da1052ac4 Mon Sep 17 00:00:00 2001 From: Silvan Jegen Date: Sun, 14 Jun 2020 10:47:58 +0200 Subject: [PATCH] don't check surface again --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index d637632..5e89eef 100644 --- a/dwl.c +++ b/dwl.c @@ -907,7 +907,7 @@ pointerfocus(Client *c, struct wlr_surface *surface, double sx, double sy, wlr_seat_pointer_notify_enter(seat, surface, sx, sy); /* If keyboard focus follows mouse, enforce that */ - if (sloppyfocus && surface) + if (sloppyfocus) focusclient(c, surface, 0); }