merge
This commit is contained in:
taiyu 2015-09-22 09:41:32 -07:00
commit 4944996170
9 changed files with 316 additions and 152 deletions

View file

@ -331,7 +331,7 @@ static bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifier
struct sway_binding *binding = mode->bindings->items[i];
if ((modifiers->mods ^ binding->modifiers) == 0) {
bool match;
bool match = false;
int j;
for (j = 0; j < binding->keys->length; ++j) {
xkb_keysym_t *key = binding->keys->items[j];