diff --git a/include/config/rcxml.h b/include/config/rcxml.h index 7ed21d63..cb4077bd 100644 --- a/include/config/rcxml.h +++ b/include/config/rcxml.h @@ -14,7 +14,6 @@ struct rcxml { bool xdg_shell_server_side_deco; int gap; bool adaptive_sync; - int screen_edge_strength; /* focus */ bool focus_follow_mouse; @@ -39,6 +38,9 @@ struct rcxml { /* libinput */ struct wl_list libinput_categories; + + /* resistance */ + int screen_edge_strength; }; extern struct rcxml rc; diff --git a/src/config/rcxml.c b/src/config/rcxml.c index 91a5fe73..4ef53153 100644 --- a/src/config/rcxml.c +++ b/src/config/rcxml.c @@ -322,7 +322,7 @@ entry(xmlNode *node, char *nodename, char *content) rc.repeat_rate = atoi(content); } else if (!strcasecmp(nodename, "repeatDelay.keyboard")) { rc.repeat_delay = atoi(content); - } else if (!strcasecmp(nodename, "screenEdgeStrength.core")) { + } else if (!strcasecmp(nodename, "screenEdgeStrength.resistance")) { rc.screen_edge_strength = atoi(content); } }