From ec7a9b95bb8d56d2c8f880b62bffc3c62e9223dd Mon Sep 17 00:00:00 2001 From: pony-montana <96387969+pony-montana@users.noreply.github.com> Date: Sat, 9 Sep 2023 10:15:52 +0000 Subject: [PATCH] dirty solution, hope to find whats going on --- dwl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dwl.c b/dwl.c index 4118fd8..a8c91b2 100644 --- a/dwl.c +++ b/dwl.c @@ -584,6 +584,9 @@ buttonpress(struct wl_listener *listener, void *data) cursor_mode = CurPressed; if (locked) break; +/* +SOMETHING BROKEN HERE. +Eliminate this part of code solved the problems described in issue #476. /* Change focus if the button was _pressed_ over a client */ xytonode(cursor->x, cursor->y, NULL, &c, NULL, NULL, NULL); @@ -600,6 +603,7 @@ buttonpress(struct wl_listener *listener, void *data) } } break; +*/ case WLR_BUTTON_RELEASED: /* If you released any buttons, we exit interactive move/resize mode. */ if (!locked && cursor_mode != CurNormal && cursor_mode != CurPressed) {