summaryrefslogtreecommitdiff
path: root/plugins/placement
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-06-29 08:46:03 +0000
committerDana Jansens <danakj@orodu.net>2003-06-29 08:46:03 +0000
commitaf8c5f51a5df9a092c8571ea3c50a965bb249d5a (patch)
tree97b3e98672ebbc2782e080d901eeaa89fe674fa4 /plugins/placement
parent82bbaf4c41ecd7ab17d067c5c92a3f5878180ef4 (diff)
use strcmp instead of collate, since collate is slower and we're only doing an == check
Diffstat (limited to 'plugins/placement')
-rw-r--r--plugins/placement/history.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/placement/history.c b/plugins/placement/history.c
index 716487b6..797aef3b 100644
--- a/plugins/placement/history.c
+++ b/plugins/placement/history.c
@@ -41,9 +41,9 @@ static struct HistoryItem *history_find(const char *name, const char *class,
/* find the client */
for (it = history_list; it != NULL; it = it->next) {
hi = it->data;
- 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))
return hi;
}
return NULL;