Skip to content

Commit b880f42

Browse files
Fixed mouse click behaviour bug
1 parent f0fe874 commit b880f42

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/mango.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1991,6 +1991,9 @@ buttonpress(struct wl_listener *listener, void *data) {
19911991
if (locked)
19921992
break;
19931993

1994+
/* Invalidate modifier-only bindings on mouse click */
1995+
mod_key_used = true;
1996+
19941997
xytonode(cursor->x, cursor->y, &surface, NULL, NULL, NULL, NULL);
19951998
if (toplevel_from_wlr_surface(surface, &c, &l) >= 0) {
19961999
if (c && c->scene->node.enabled &&

0 commit comments

Comments
 (0)