]> git.eshelyaron.com Git - emacs.git/commit
Minor adjustments to Android drag and drop and content URIs
authorPo Lu <luangruo@yahoo.com>
Sat, 28 Oct 2023 02:02:58 +0000 (10:02 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 28 Oct 2023 02:19:41 +0000 (10:19 +0800)
commitf0d42c5e47eaba2c8ccee0a804965a2b71923d41
treed49ef9b2e71da47ed4ca845ac341b95eed6ac739
parenteb6708f0ac129f2faee31b1f5517641ffb38fcdf
Minor adjustments to Android drag and drop and content URIs

* java/org/gnu/emacs/EmacsWindow.java (EmacsWindow)
<dndXPosition, dndYPosition>: New fields initialized to -1.
(onDragEvent): Remember the position of the previous event to
avoid sending duplicates.

* src/androidvfs.c (EMACS_PATH_MAX): New define.
(android_saf_tree_rename, android_saf_tree_opendir)
(android_name_file, android_fstatat, android_faccessat)
(android_fchmodat, android_readlinkat): Use EMACS_PATH_MAX where
SAF file names might be encountered.
java/org/gnu/emacs/EmacsWindow.java
src/androidvfs.c