From 9745fcf784c133e7f4d6f659a9feb944f1dbaf1a Mon Sep 17 00:00:00 2001 From: Simon Long Date: Thu, 2 May 2024 11:00:23 +0100 Subject: [PATCH] Update consumed_by_frame_context for LAB_SSD_ALL --- src/input/cursor.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/input/cursor.c b/src/input/cursor.c index df03dcf2..9d4852c0 100644 --- a/src/input/cursor.c +++ b/src/input/cursor.c @@ -823,12 +823,15 @@ handle_release_mousebinding(struct server *server, */ consumed_by_frame_context |= mousebind->context == LAB_SSD_FRAME; + consumed_by_frame_context |= + mousebind->context == LAB_SSD_ALL; } continue; default: continue; } consumed_by_frame_context |= mousebind->context == LAB_SSD_FRAME; + consumed_by_frame_context |= mousebind->context == LAB_SSD_ALL; actions_run(ctx->view, server, &mousebind->actions, /*resize_edges*/ 0); } @@ -909,6 +912,8 @@ handle_press_mousebinding(struct server *server, struct cursor_context *ctx, */ consumed_by_frame_context |= mousebind->context == LAB_SSD_FRAME; + consumed_by_frame_context |= + mousebind->context == LAB_SSD_ALL; mousebind->pressed_in_context = true; } continue; @@ -923,6 +928,7 @@ handle_press_mousebinding(struct server *server, struct cursor_context *ctx, continue; } consumed_by_frame_context |= mousebind->context == LAB_SSD_FRAME; + consumed_by_frame_context |= mousebind->context == LAB_SSD_ALL; actions_run(ctx->view, server, &mousebind->actions, resize_edges); } }