#include "kernel/openbox.h"
#include "kernel/dispatch.h"
#include "kernel/frame.h"
#include "kernel/openbox.h"
#include "kernel/dispatch.h"
#include "kernel/frame.h"
- if (!g_utf8_collate(hi->name, name) &&
- !g_utf8_collate(hi->class, class) &&
- !g_utf8_collate(hi->role, role))
+ if (!strcmp(hi->name, name) &&
+ !strcmp(hi->class, class) &&
+ !strcmp(hi->role, role))
- client_configure(c, Corner_TopLeft, x, y, w, h,
+ client_configure(c, OB_CORNER_TOPLEFT, x, y, w, h,
node = xmlNewChild(root, NULL, (const xmlChar*) "entry", NULL);
xmlNewProp(node, (const xmlChar*) "name", (const xmlChar*) hi->name);
xmlNewProp(node, (const xmlChar*) "class", (const xmlChar*) hi->class);
node = xmlNewChild(root, NULL, (const xmlChar*) "entry", NULL);
xmlNewProp(node, (const xmlChar*) "name", (const xmlChar*) hi->name);
xmlNewProp(node, (const xmlChar*) "class", (const xmlChar*) hi->class);
g_free(name); g_free(class); g_free(role);
node = parse_find_node("entry", node->next);
}
g_free(name); g_free(class); g_free(role);
node = parse_find_node("entry", node->next);
}