mirror of
https://github.com/labwc/labwc.git
synced 2025-11-06 13:29:58 -05:00
parent
14a0c83ae0
commit
4a8b50603e
9 changed files with 115 additions and 18 deletions
|
|
@ -137,6 +137,17 @@ context_from_str(const char *str)
|
|||
return LAB_SSD_NONE;
|
||||
}
|
||||
|
||||
bool
|
||||
mousebind_the_same(struct mousebind *a, struct mousebind *b)
|
||||
{
|
||||
assert(a && b);
|
||||
return a->context == b->context
|
||||
&& a->button == b->button
|
||||
&& a->direction == b->direction
|
||||
&& a->mouse_event == b->mouse_event
|
||||
&& a->modifiers == b->modifiers;
|
||||
}
|
||||
|
||||
struct mousebind *
|
||||
mousebind_create(const char *context)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue