From 3a3b4848983990841871637553b28094fb0661ab Mon Sep 17 00:00:00 2001 From: bi4k8 Date: Wed, 1 Dec 2021 22:17:33 +0000 Subject: [PATCH] replace hard-coded ShowMenu on root button press with mouse binding trigger --- src/cursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cursor.c b/src/cursor.c index 8752ca98..f469a49b 100644 --- a/src/cursor.c +++ b/src/cursor.c @@ -585,7 +585,7 @@ cursor_button(struct wl_listener *listener, void *data) /* Handle _press_ on root window */ if (!view) { - action(server, "ShowMenu", "root-menu", 0); + handle_press_mousebinding(server, event->button, modifiers, LAB_SSD_ROOT, 0); return; }