From: Po Lu Date: Tue, 30 Nov 2021 00:33:24 +0000 (+0800) Subject: Fix build after merge X-Git-Tag: emacs-29.0.90~3647 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=66b5f5a87263030dd4a8d13080dea68afdb6c3e4;p=emacs.git Fix build after merge * lisp/mwheel.el (mouse-wheel-up-event): * src/gtkutil.c (xg_event_is_for_scrollbar): * src/termhooks.h (enum output_method): Fix trivial typos. --- diff --git a/lisp/mwheel.el b/lisp/mwheel.el index d04139d1489..3458fb6d848 100644 --- a/lisp/mwheel.el +++ b/lisp/mwheel.el @@ -77,7 +77,7 @@ (defcustom mouse-wheel-up-event (if (or (featurep 'w32-win) (featurep 'ns-win) - (featurep 'haiku-win) (feautrep 'pgtk-win)) + (featurep 'haiku-win) (featurep 'pgtk-win)) 'wheel-down 'mouse-5) "Event used for scrolling up." diff --git a/src/gtkutil.c b/src/gtkutil.c index 0574d5691b1..c2b33912efb 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -4793,7 +4793,6 @@ xg_event_is_for_scrollbar (struct frame *f, const EVENT *event) || event->type == GDK_MOTION_NOTIFY) #endif ) - || event->type == MotionNotify)) #endif /* HAVE_XINPUT2 */ { /* If we are releasing or moving the scroll bar, it has the grab. */ diff --git a/src/termhooks.h b/src/termhooks.h index f0c3ffd57b1..649a4236d20 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -61,7 +61,7 @@ enum output_method output_msdos_raw, output_w32, output_ns, - output_pgtk + output_pgtk, output_haiku };