]> git.mdlowis.com Git - proto/labwc.git/commitdiff
src/menu/menu.c: Add comments
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 1 Nov 2022 16:50:39 +0000 (17:50 +0100)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 1 Nov 2022 16:54:02 +0000 (17:54 +0100)
src/menu/menu.c

index 66e06ffc031fc530520f28cde22e6926dcc49899..0721a5527125734a95ee337304b14e84fcdab93e 100644 (file)
@@ -231,6 +231,7 @@ fill_item(char *nodename, char *content)
                wlr_log(WLR_ERROR, "expect <action name=\"\"> 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);
        }
 }