src/config/mousebind.c: Fix mousebind ordering

This commit is contained in:
Consolatis 2022-08-29 23:06:53 +02:00 committed by Johan Malm
parent 7b995788ee
commit 99237cc232
2 changed files with 3 additions and 3 deletions

View file

@ -111,7 +111,7 @@ mousebind_create(const char *context)
struct mousebind *m = calloc(1, sizeof(struct mousebind));
m->context = context_from_str(context);
if (m->context != LAB_SSD_NONE) {
wl_list_insert(&rc.mousebinds, &m->link);
wl_list_insert(rc.mousebinds.prev, &m->link);
}
wl_list_init(&m->actions);
return m;