diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/browser.c | 2 | ||||
-rw-r--r-- | desktop/selection.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/browser.c b/desktop/browser.c index 32eb65dc2..abee202b7 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -1126,7 +1126,7 @@ void browser_window_mouse_drag_end(struct browser_window *bw, int dx, dy; struct box *box = browser_window_pick_text_box(bw, mouse, x, y, &dx, &dy); - selection_drag_end(bw->sel, box, mouse, x, y); + selection_drag_end(bw->sel, box, mouse, dx, dy); } break; diff --git a/desktop/selection.h b/desktop/selection.h index 178df2d0b..4a5d74980 100644 --- a/desktop/selection.h +++ b/desktop/selection.h @@ -64,7 +64,7 @@ bool selection_click(struct selection *s, struct box *box, browser_mouse_state m void selection_track(struct selection *s, struct box *box, browser_mouse_state mouse, int dx, int dy); void selection_drag_end(struct selection *s, struct box *box, - browser_mouse_state mouse, int x, int y); + browser_mouse_state mouse, int dx, int dy); bool selection_traverse(struct selection *s, seln_traverse_handler handler, void *handle); |