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 committed by Johan Malm
parent 0be4625c1c
commit 3a3b484898

View file

@ -585,7 +585,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;
} }