diff options
| author | Po Lu | 2021-11-09 08:24:45 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-11-09 08:24:45 +0100 |
| commit | 606d8ffe4568974157a61d61b3f3cf01c231ce6b (patch) | |
| tree | 1e6a7644f1e3d4fe21021bc6d27eb0a6e95c9b68 /src | |
| parent | 104e90d93664892ed1a7a1631c5b0141d0552a60 (diff) | |
| download | emacs-606d8ffe4568974157a61d61b3f3cf01c231ce6b.tar.gz emacs-606d8ffe4568974157a61d61b3f3cf01c231ce6b.zip | |
Fix default target of motion events
* src/xwidget.c (xwidget_motion_or_crossing): Default to widget_osr
instead of its window (bug#51703).
Diffstat (limited to 'src')
| -rw-r--r-- | src/xwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xwidget.c b/src/xwidget.c index 90178f441d1..d3a8d5eb82b 100644 --- a/src/xwidget.c +++ b/src/xwidget.c | |||
| @@ -763,7 +763,7 @@ xwidget_motion_or_crossing (struct xwidget_view *view, const XEvent *event) | |||
| 763 | &x, &y); | 763 | &x, &y); |
| 764 | 764 | ||
| 765 | if (!target) | 765 | if (!target) |
| 766 | target = model->widgetwindow_osr; | 766 | target = model->widget_osr; |
| 767 | 767 | ||
| 768 | xg_event->any.window = gtk_widget_get_window (target); | 768 | xg_event->any.window = gtk_widget_get_window (target); |
| 769 | g_object_ref (xg_event->any.window); /* The window will be unrefed | 769 | g_object_ref (xg_event->any.window); /* The window will be unrefed |