summaryrefslogtreecommitdiff
path: root/src/gestures-drag.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gestures-drag.c')
-rw-r--r--src/gestures-drag.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gestures-drag.c b/src/gestures-drag.c
index 9f2bcaf..962aa6d 100644
--- a/src/gestures-drag.c
+++ b/src/gestures-drag.c
@@ -74,10 +74,8 @@ int gru_drag(struct grail *ge,
74 } 74 }
75 if ((move->timeout & fm_mask) == fm_mask) { 75 if ((move->timeout & fm_mask) == fm_mask) {
76 if (state->active) { 76 if (state->active) {
77 gin_gid_discard(ge, state->gid); 77 gin_gid_timeout(ge, state->gid);
78 state->active = 0;
79 } 78 }
80 return 0;
81 } 79 }
82 if (!state->active) { 80 if (!state->active) {
83 int type = getype[move->ntouch]; 81 int type = getype[move->ntouch];
@@ -111,10 +109,8 @@ int gru_windrag(struct grail *ge,
111 } 109 }
112 if ((move->timeout & fm_mask) == fm_mask) { 110 if ((move->timeout & fm_mask) == fm_mask) {
113 if (state->active) { 111 if (state->active) {
114 gin_gid_discard(ge, state->gid); 112 gin_gid_timeout(ge, state->gid);
115 state->active = 0;
116 } 113 }
117 return 0;
118 } 114 }
119 if (!state->active) { 115 if (!state->active) {
120 if (move->ntouch == 4) { 116 if (move->ntouch == 4) {