diff options
Diffstat (limited to 'src/gestures-rotate.c')
| -rw-r--r-- | src/gestures-rotate.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gestures-rotate.c b/src/gestures-rotate.c index 03e8f3c..0fff8a4 100644 --- a/src/gestures-rotate.c +++ b/src/gestures-rotate.c | |||
| @@ -63,10 +63,8 @@ int gru_rotate(struct grail *ge, | |||
| 63 | } | 63 | } |
| 64 | if ((move->timeout & fm_mask) == fm_mask) { | 64 | if ((move->timeout & fm_mask) == fm_mask) { |
| 65 | if (state->active) { | 65 | if (state->active) { |
| 66 | gin_gid_discard(ge, state->gid); | 66 | gin_gid_timeout(ge, state->gid); |
| 67 | state->active = 0; | ||
| 68 | } | 67 | } |
| 69 | return 0; | ||
| 70 | } | 68 | } |
| 71 | if (!(move->tickle & mask)) | 69 | if (!(move->tickle & mask)) |
| 72 | return 0; | 70 | return 0; |
| @@ -101,10 +99,8 @@ int gru_winrotate(struct grail *ge, | |||
| 101 | } | 99 | } |
| 102 | if ((move->timeout & fm_mask) == fm_mask) { | 100 | if ((move->timeout & fm_mask) == fm_mask) { |
| 103 | if (state->active) { | 101 | if (state->active) { |
| 104 | gin_gid_discard(ge, state->gid); | 102 | gin_gid_timeout(ge, state->gid); |
| 105 | state->active = 0; | ||
| 106 | } | 103 | } |
| 107 | return 0; | ||
| 108 | } | 104 | } |
| 109 | if (!(move->tickle & mask)) | 105 | if (!(move->tickle & mask)) |
| 110 | return 0; | 106 | return 0; |
