diff options
author | Alexander Courtis <alex@courtis.org> | 2020-08-06 15:41:04 +1000 |
---|---|---|
committer | Alexander Courtis <alex@courtis.org> | 2020-08-06 15:41:04 +1000 |
commit | 9d138ac95a4575f61893278791d23bd70d02d286 (patch) | |
tree | e8d452cccab4ead5d6da29a3291d0e4c775a0d68 | |
parent | c08ea88c1f08c741637004c032fafac1d75bd36f (diff) |
#31 independents retain focus while mouse is over them
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -993,7 +993,7 @@ motionnotify(uint32_t time) cursor->y - c->surface.xwayland->y - c->bw, &sx, &sy); /* Otherwise, find the client under the pointer and send the event along. */ - } else if (!c && (c = xytoclient(cursor->x, cursor->y))) { + } else if ((c = xytoclient(cursor->x, cursor->y))) { if (c->type != XDGShell) surface = wlr_surface_surface_at(c->surface.xwayland->surface, cursor->x - c->geom.x - c->bw, |