mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-26 11:24:57 +03:00
Don't constrain mouse pointer to window area during text selection.
svn path=/trunk/netsurf/; revision=4256
This commit is contained in:
parent
0f4164d934
commit
b661f3deaf
@ -125,10 +125,11 @@ void gui_start_selection(struct gui_window *g)
|
||||
gui_track_gui_window = g;
|
||||
|
||||
drag.type = wimp_DRAG_USER_POINT;
|
||||
drag.bbox.x0 = state.visible.x0;
|
||||
drag.bbox.y0 = state.visible.y0;
|
||||
drag.bbox.x1 = state.visible.x1;
|
||||
drag.bbox.y1 = state.visible.y1;
|
||||
/* Don't constrain mouse pointer during drags */
|
||||
drag.bbox.x0 = -16384;
|
||||
drag.bbox.y0 = -16384;
|
||||
drag.bbox.x1 = 16384;
|
||||
drag.bbox.y1 = 16384;
|
||||
|
||||
error = xwimp_drag_box(&drag);
|
||||
if (error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user