diff options
| author | Po Lu <luangruo@yahoo.com> | 2023-07-11 10:22:03 +0800 |
|---|---|---|
| committer | Po Lu <luangruo@yahoo.com> | 2023-07-11 10:22:03 +0800 |
| commit | 24ae08c11342d93ac68b284302fcf5929c19ffb0 (patch) | |
| tree | 0077e55402ca20cb939c3d2f7cf23ecad647b539 /java/org/gnu/emacs/EmacsView.java | |
| parent | dc7ecc6e31ae431e060464a9a24f050cc29077a3 (diff) | |
Update Android port
* java/org/gnu/emacs/EmacsView.java (onGenericMotionEvent): Call
onGenericMotionEvent.
* java/org/gnu/emacs/EmacsWindow.java (Coordinate): New fields
`button' and `id'.
(<init>): Add new arguments to the construtor.
(whatButtonWasIt): Return 0 if the button state has not changed.
(buttonForEvent): New function.
(figureChange): Return the Coordinate object associated to
EVENT. Determine whether or not EVENT was accompanied by a
change to the button state, and ascertain which button that was.
(motionEvent): New function.
(onGenericMotionEvent, onTouchEvent): Factor out touch and mouse
event delivery to motionEvent.
Diffstat (limited to 'java/org/gnu/emacs/EmacsView.java')
| -rw-r--r-- | java/org/gnu/emacs/EmacsView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/org/gnu/emacs/EmacsView.java b/java/org/gnu/emacs/EmacsView.java index bb4dace655a..12d8ff4da56 100644 --- a/java/org/gnu/emacs/EmacsView.java +++ b/java/org/gnu/emacs/EmacsView.java @@ -475,7 +475,7 @@ public final class EmacsView extends ViewGroup public boolean onGenericMotionEvent (MotionEvent motion) { - return window.onSomeKindOfMotionEvent (motion); + return window.onGenericMotionEvent (motion); } @Override |
