search for: buttonstr

Displaying 2 results from an estimated 2 matches for "buttonstr".

Did you mean: buttons
2006 Oct 25
2
[PATCH] Edge buttons
...e->action.edgeButton == action->edgeButton) { Bool equal = TRUE; @@ -214,6 +215,7 @@ compSetActionOption (CompOption *op equal = FALSE; } + if (equal) return FALSE; } @@ -507,10 +509,21 @@ buttonBindingToString (CompDisplay char *binding; char buttonStr[256]; + if (button->button < 1) + button->modifiers = 0; + binding = modifiersToString (d, button->modifiers); - snprintf (buttonStr, 256, "Button%d", button->button); - binding = stringAppend (binding, buttonStr); + if (button->button == 0) + { +...
2006 Nov 08
2
bug in today's git snapshot with maximizing windows
...E; > > @@ -214,6 +215,7 @@ compSetActionOption (CompOption *op > equal = FALSE; > } > > + > if (equal) > return FALSE; > } > @@ -507,10 +509,21 @@ buttonBindingToString (CompDisplay > char *binding; > char buttonStr[256]; > > + if (button->button < 1) > + button->modifiers = 0; > + > binding = modifiersToString (d, button->modifiers); > > - snprintf (buttonStr, 256, "Button%d", button->button); > - binding = stringAppend (binding, buttonStr)...