From 2ddbd4bda400306c5afdef61d4d6128bbfc3d794 Mon Sep 17 00:00:00 2001 From: pony-montana <96387969+pony-montana@users.noreply.github.com> Date: Sat, 9 Sep 2023 11:31:04 +0000 Subject: [PATCH] a break literally do what it says --- dwl.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dwl.c b/dwl.c index 9091d3a..c5121f9 100644 --- a/dwl.c +++ b/dwl.c @@ -584,9 +584,6 @@ 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); @@ -602,7 +599,8 @@ Eliminate this part of code solved the problems described in issue #476. return; } } - break; +/* Eliminate this "break" solved the problems described in issue #476. Tautologically found "what was broken here". + break; */ case WLR_BUTTON_RELEASED: /* If you released any buttons, we exit interactive move/resize mode. */