From ec8bc6e2d602c7022fe1ecfd074c7cf26b1da75b Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Tue, 1 Nov 2022 17:50:39 +0100 Subject: [PATCH] src/menu/menu.c: Add comments --- src/menu/menu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/menu/menu.c b/src/menu/menu.c index 66e06ffc..0721a552 100644 --- a/src/menu/menu.c +++ b/src/menu/menu.c @@ -231,6 +231,7 @@ fill_item(char *nodename, char *content) wlr_log(WLR_ERROR, "expect element first. " "nodename: '%s' content: '%s'", nodename, content); } else if (!strcmp(nodename, "command.action")) { + /* Execute */ action_arg_add_str(current_item_action, NULL, content); } else if (!strcmp(nodename, "execute.action")) { /* @@ -240,6 +241,7 @@ fill_item(char *nodename, char *content) */ action_arg_add_str(current_item_action, NULL, content); } else if (!strcmp(nodename, "to.action")) { + /* GoToDesktop, SendToDesktop */ action_arg_add_str(current_item_action, NULL, content); } }