Blame easystroke-0.6.0-no-absolutes.patch
|
|
722da57 |
diff -up easystroke-0.6.0/handler.cc.no-absolutes easystroke-0.6.0/handler.cc
|
|
|
722da57 |
--- easystroke-0.6.0/handler.cc.no-absolutes 2019-10-18 14:54:23.167116944 -0400
|
|
|
722da57 |
+++ easystroke-0.6.0/handler.cc 2019-10-18 14:54:49.671536045 -0400
|
|
|
722da57 |
@@ -563,7 +563,7 @@ protected:
|
|
|
722da57 |
}
|
|
|
722da57 |
protected:
|
|
|
722da57 |
void move_back() {
|
|
|
722da57 |
- if (!prefs.move_back.get() || (xstate->current_dev && xstate->current_dev->absolute))
|
|
|
722da57 |
+ if (!prefs.move_back.get())
|
|
|
722da57 |
return;
|
|
|
722da57 |
XTestFakeMotionEvent(dpy, DefaultScreen(dpy), orig_x, orig_y, 0);
|
|
|
722da57 |
}
|
|
|
722da57 |
@@ -968,7 +968,7 @@ protected:
|
|
|
722da57 |
virtual void release(guint b, RTriple e) {
|
|
|
722da57 |
RStroke s = finish(0);
|
|
|
722da57 |
|
|
|
722da57 |
- if (prefs.move_back.get() && !xstate->current_dev->absolute)
|
|
|
722da57 |
+ if (prefs.move_back.get())
|
|
|
722da57 |
XTestFakeMotionEvent(dpy, DefaultScreen(dpy), orig->x, orig->y, 0);
|
|
|
722da57 |
else
|
|
|
722da57 |
XTestFakeMotionEvent(dpy, DefaultScreen(dpy), e->x, e->y, 0);
|