diff --git a/src/config.c b/src/config.c index ead1ffb..691b1ed 100644 --- a/src/config.c +++ b/src/config.c @@ -32,7 +32,6 @@ config_mouse_section(struct mbhead *mousebinds, struct conf_sec **sec) m->cmd = xstrdup(p); m->use_area = false; - m->flags = 0; SLIST_INSERT_HEAD(mousebinds, m, next); SLIST_INSERT_HEAD(&W->h.mousebind, m, globnext); diff --git a/src/status.c b/src/status.c index a5a6dac..7859736 100644 --- a/src/status.c +++ b/src/status.c @@ -74,7 +74,6 @@ status_parse_mouse(struct status_seq *sq, char *str) m->button = ATOI(arg[0]); m->func = uicb_name_func(arg[1]); m->cmd = (i > 1 ? xstrdup(arg[2]) : NULL); - m->flags |= MOUSEBIND_STATUS; SLIST_INSERT_HEAD(&sq->mousebinds, m, snext); diff --git a/src/wmfs.h b/src/wmfs.h index 08f6911..086e293 100644 --- a/src/wmfs.h +++ b/src/wmfs.h @@ -220,8 +220,6 @@ struct keybind struct mousebind { struct geo area; -#define MOUSEBIND_STATUS 0x01 - Flags flags; unsigned int button; bool use_area; void (*func)(Uicb);