From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Tue, 1 Nov 2022 16:50:39 +0000 (+0100) Subject: src/menu/menu.c: Add comments X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=ec8bc6e2d602c7022fe1ecfd074c7cf26b1da75b;p=proto%2Flabwc.git src/menu/menu.c: Add comments --- 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); } }