diff options
| -rw-r--r-- | src/gestures-pinch.c | 2 | ||||
| -rw-r--r-- | src/gestures-rotate.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gestures-pinch.c b/src/gestures-pinch.c index e022e8d..18772a0 100644 --- a/src/gestures-pinch.c +++ b/src/gestures-pinch.c | |||
| @@ -54,7 +54,7 @@ int gru_pinch(struct grail *ge, | |||
| 54 | struct combo_model *state = &gru->pinch; | 54 | struct combo_model *state = &gru->pinch; |
| 55 | struct move_model *move = &gru->move; | 55 | struct move_model *move = &gru->move; |
| 56 | int mask = state->active ? (move->active & fm_mask) : fm_mask; | 56 | int mask = state->active ? (move->active & fm_mask) : fm_mask; |
| 57 | if (!move->multi) { | 57 | if (!move->multi && !move->single) { |
| 58 | if (state->active) { | 58 | if (state->active) { |
| 59 | gru_end(ge, state->gid, move, | 59 | gru_end(ge, state->gid, move, |
| 60 | state->prop, state->nprop); | 60 | state->prop, state->nprop); |
diff --git a/src/gestures-rotate.c b/src/gestures-rotate.c index dd95c32..03e8f3c 100644 --- a/src/gestures-rotate.c +++ b/src/gestures-rotate.c | |||
| @@ -53,7 +53,7 @@ int gru_rotate(struct grail *ge, | |||
| 53 | struct combo_model *state = &gru->rotate; | 53 | struct combo_model *state = &gru->rotate; |
| 54 | struct move_model *move = &gru->move; | 54 | struct move_model *move = &gru->move; |
| 55 | int mask = state->active ? (move->active & fm_mask) : fm_mask; | 55 | int mask = state->active ? (move->active & fm_mask) : fm_mask; |
| 56 | if (!move->multi) { | 56 | if (!move->multi && !move->single) { |
| 57 | if (state->active) { | 57 | if (state->active) { |
| 58 | gru_end(ge, state->gid, move, | 58 | gru_end(ge, state->gid, move, |
| 59 | state->prop, state->nprop); | 59 | state->prop, state->nprop); |
