don't check surface again

This commit is contained in:
Silvan Jegen 2020-06-14 10:47:58 +02:00
parent 59e0047d91
commit e02bca9930

2
dwl.c
View File

@ -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);
}