replace hard-coded ShowMenu on root button press with mouse binding trigger

This commit is contained in:
bi4k8 2021-12-01 22:17:33 +00:00
parent 54e99cd240
commit a6b4abbf2a

View file

@ -581,7 +581,7 @@ cursor_button(struct wl_listener *listener, void *data)
/* Handle _press_ on root window */ /* Handle _press_ on root window */
if (!view) { if (!view) {
action(server, "ShowMenu", "root-menu", 0); handle_press_mousebinding(server, event->button, modifiers, LAB_SSD_ROOT, 0);
return; return;
} }