From: bi4k8 Date: Wed, 1 Dec 2021 22:17:33 +0000 (+0000) Subject: replace hard-coded ShowMenu on root button press with mouse binding trigger X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=3a3b4848983990841871637553b28094fb0661ab;p=proto%2Flabwc.git replace hard-coded ShowMenu on root button press with mouse binding trigger --- 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; }