diff --git a/data/themerc.xsd b/data/themerc.xsd
index 7b9573d9..621f99c6 100755
--- a/data/themerc.xsd
+++ b/data/themerc.xsd
@@ -22,11 +22,6 @@
-
-
-
-
-
@@ -136,7 +131,7 @@
-
+
@@ -152,7 +147,7 @@
-
+
diff --git a/render/theme.c b/render/theme.c
index c31ca112..95b48896 100644
--- a/render/theme.c
+++ b/render/theme.c
@@ -1307,8 +1307,8 @@ static gboolean find_point(ParseState *ps, xmlNodePtr n, gchar *names[],
{
if ((n = find_node(n, names))) {
gint a, b;
- if (parse_attr_int("horizontal", n, &a) &&
- parse_attr_int("vertical", n, &b) &&
+ if (parse_attr_int("x", n, &a) &&
+ parse_attr_int("y", n, &b) &&
a >= lowx && a <= upx && b >= lowy && b <= upy)
{
*x = a; *y = b;
diff --git a/tools/themetoxml/themetoxml.c b/tools/themetoxml/themetoxml.c
index 56a5f9c7..c03bd29f 100644
--- a/tools/themetoxml/themetoxml.c
+++ b/tools/themetoxml/themetoxml.c
@@ -321,8 +321,8 @@ int main(int argc, char **argv)
CONT2("dimensions", "handle", NUM(i));
if (read_int(db, "padding.width", &i)) {
- ATTR2("dimensions", "padding", "horizontal", NUM(i));
- ATTR2("dimensions", "padding", "vertical", NUM(i));
+ ATTR2("dimensions", "padding", "x", NUM(i));
+ ATTR2("dimensions", "padding", "y", NUM(i));
}
if (read_int(db, "borderWidth", &i)) {
@@ -339,8 +339,8 @@ int main(int argc, char **argv)
}
if (read_int(db, "window.client.padding.width", &i)) {
- ATTR2("window", "clientpadding", "horizontal", NUM(i));
- ATTR2("window", "clientpadding", "vertical", NUM(i));
+ ATTR2("window", "clientpadding", "x", NUM(i));
+ ATTR2("window", "clientpadding", "y", NUM(i));
}
if (read_string(db, "window.label.text.justify", &s)) {