]> git.mdlowis.com Git - proto/labwc.git/commitdiff
config: make capitalization consistent in rc.xml
authorJohan Malm <jgm323@gmail.com>
Thu, 21 Oct 2021 19:40:14 +0000 (20:40 +0100)
committerJohan Malm <jgm323@gmail.com>
Thu, 21 Oct 2021 19:40:14 +0000 (20:40 +0100)
src/config/rcxml.c

index 3b5704b0334e6f68f8982cbfcc80c7f7362b40d0..0f74cdec2550d4f11ab71f6b10224d67f0734de3 100644 (file)
@@ -300,9 +300,9 @@ entry(xmlNode *node, char *nodename, char *content)
                fill_font(nodename, content, font_place);
        } else if (!strcmp(nodename, "size.font.theme")) {
                fill_font(nodename, content, font_place);
-       } else if (!strcasecmp(nodename, "FollowMouse.focus")) {
+       } else if (!strcasecmp(nodename, "followMouse.focus")) {
                rc.focus_follow_mouse = get_bool(content);
-       } else if (!strcasecmp(nodename, "RaiseOnFocus.focus")) {
+       } else if (!strcasecmp(nodename, "raiseOnFocus.focus")) {
                rc.raise_on_focus = get_bool(content);
                if (rc.raise_on_focus) {
                        rc.focus_follow_mouse = true;
@@ -316,9 +316,9 @@ entry(xmlNode *node, char *nodename, char *content)
                }
        } else if (!strcasecmp(nodename, "name.context.mouse")) {
                current_mouse_context = content;
-       } else if (!strcasecmp(nodename, "RepeatRate.keyboard")) {
+       } else if (!strcasecmp(nodename, "repeatRate.keyboard")) {
                rc.repeat_rate = atoi(content);
-       } else if (!strcasecmp(nodename, "RepeatDelay.keyboard")) {
+       } else if (!strcasecmp(nodename, "repeatDelay.keyboard")) {
                rc.repeat_delay = atoi(content);
        }
 }