mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-05 23:01:40 +03:00
When passing drag on to it's bw, we don't need to do anything if the drag is for the current bw.
svn path=/trunk/netsurf/; revision=12666
This commit is contained in:
parent
ecff5eaf83
commit
65398660e5
@ -1866,7 +1866,7 @@ void browser_window_mouse_track(struct browser_window *bw,
|
||||
|
||||
if (bw->window != NULL) {
|
||||
/* root browser window */
|
||||
if (bw->drag_window) {
|
||||
if (bw->drag_window && bw != bw->drag_window) {
|
||||
/* There's an active drag in a sub window.
|
||||
* Pass the mouse action straight on to that bw. */
|
||||
int off_x = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user