diff options
| author | Po Lu | 2022-03-15 10:28:54 +0800 |
|---|---|---|
| committer | Po Lu | 2022-03-15 10:28:54 +0800 |
| commit | 8cc8dfd67e44752667781602394962647afc795b (patch) | |
| tree | be734c1522e21b406df9b1045d4be4fe80e175a2 /src | |
| parent | 299e47536173c62fc5edf1bd12baadc29d718674 (diff) | |
| download | emacs-8cc8dfd67e44752667781602394962647afc795b.tar.gz emacs-8cc8dfd67e44752667781602394962647afc795b.zip | |
Fix extraneous ifdef in xwidgets code
* xterm.c (handle_one_xevent): Pass GesturePinchEnd events to
xwidgets regardless of no-longer-present define.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index b198dab983a..e48592210fd 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -13611,7 +13611,7 @@ handle_one_xevent (struct x_display_info *dpyinfo, | |||
| 13611 | 13611 | ||
| 13612 | case XI_GesturePinchEnd: | 13612 | case XI_GesturePinchEnd: |
| 13613 | { | 13613 | { |
| 13614 | #if defined HAVE_XWIDGETS && HAVE_USABLE_XI_GESTURE_PINCH_EVENT | 13614 | #if defined HAVE_XWIDGETS |
| 13615 | XIGesturePinchEvent *pev = (XIGesturePinchEvent *) xi_event; | 13615 | XIGesturePinchEvent *pev = (XIGesturePinchEvent *) xi_event; |
| 13616 | struct xwidget_view *xvw = xwidget_view_from_window (pev->event); | 13616 | struct xwidget_view *xvw = xwidget_view_from_window (pev->event); |
| 13617 | 13617 | ||