From 60ecc42e429b5e5bbe63ff2f1cf6ec0b8f6b7088 Mon Sep 17 00:00:00 2001 From: Erik Reider <35975961+ErikReider@users.noreply.github.com> Date: Fri, 26 Jan 2024 19:50:24 +0100 Subject: [PATCH] Added comment about workspace_gesture_parse reasoning --- common/gesture.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/gesture.c b/common/gesture.c index 6b012fcb..ca4e633d 100644 --- a/common/gesture.c +++ b/common/gesture.c @@ -107,6 +107,8 @@ char *gesture_parse(const char *input, struct gesture *output) { return NULL; } +// Similar to gesture_parse but with fewer checks to match the different +// workspace_gesture syntax char *workspace_gesture_parse(const char *input, struct gesture *output) { // Clear output in case of failure output->type = GESTURE_TYPE_NONE;