Fix default target of motion events
* src/xwidget.c (xwidget_motion_or_crossing): Default to widget_osr instead of its window (bug#51703).
This commit is contained in:
parent
104e90d936
commit
606d8ffe45
1 changed files with 1 additions and 1 deletions
|
@ -763,7 +763,7 @@ xwidget_motion_or_crossing (struct xwidget_view *view, const XEvent *event)
|
|||
&x, &y);
|
||||
|
||||
if (!target)
|
||||
target = model->widgetwindow_osr;
|
||||
target = model->widget_osr;
|
||||
|
||||
xg_event->any.window = gtk_widget_get_window (target);
|
||||
g_object_ref (xg_event->any.window); /* The window will be unrefed
|
||||
|
|
Loading…
Add table
Reference in a new issue