summaryrefslogtreecommitdiffstats
path: root/window-copy.c
diff options
context:
space:
mode:
authornicm <nicm>2019-05-03 18:42:40 +0000
committernicm <nicm>2019-05-03 18:42:40 +0000
commit4097257beffc100d1eb0948d1390cea952e5fe4a (patch)
tree841810620623c7db4054370430bafc5241dd074e /window-copy.c
parent84e46525136481ba5bd60e73ae2fffdf74c0417c (diff)
Do not store the mouse position we calculate as the start of a drag back
into the mouse event that later code uses, it has been adjusted and they should use the original position. GitHub issue 1710.
Diffstat (limited to 'window-copy.c')
-rw-r--r--window-copy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/window-copy.c b/window-copy.c
index f8569d79..4ff6b9dd 100644
--- a/window-copy.c
+++ b/window-copy.c
@@ -3505,6 +3505,8 @@ window_copy_start_drag(struct client *c, struct mouse_event *m)
window_copy_update_cursor(wme, x, y);
window_copy_start_selection(wme);
window_copy_redraw_screen(wme);
+
+ window_copy_drag_update(c, m);
}
static void