aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2020-10-17 09:48:54 -0700
committerGlenn Morris2020-10-17 09:48:54 -0700
commit3ac3a6503ebcf40ae6e179d92e1d168a4d440ea1 (patch)
tree48987d8f445159691efbf8b060e59731d43d8bb5 /src
parent2f45054208ccc3fbd53b7f4d6bbaba92afa075c1 (diff)
parent65078e0a760950783e56f6765465a59bd642e8e4 (diff)
downloademacs-3ac3a6503ebcf40ae6e179d92e1d168a4d440ea1.tar.gz
emacs-3ac3a6503ebcf40ae6e179d92e1d168a4d440ea1.zip
Merge from origin/emacs-27
65078e0a76 * lisp/info.el (Info-hide-note-references): Doc fix. (Bug... 30305b543d Make lisp/progmodes/js.el dependent on CC Mode in the Make... c37b2a9b42 Yet another fix for 'set-minibuffer-message' 72dd911981 Fix posn-at-x-y in builds --without-x ace25f2066 Clarify the seq-reduce documentation 7d598e281d Make tramp-completion-reread-directory-timeout obsolete (B... 2c31ce18ea Fix 'message' when there's active minibuffer on another frame # Conflicts: # doc/misc/tramp.texi # etc/NEWS
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 4d22c44810e..10d2f6323ed 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -5254,7 +5254,6 @@ make_lispy_position (struct frame *f, Lisp_Object x, Lisp_Object y,
5254 extra_info))); 5254 extra_info)));
5255 } 5255 }
5256 5256
5257#ifdef HAVE_WINDOW_SYSTEM
5258 else if (f) 5257 else if (f)
5259 { 5258 {
5260 /* Return mouse pixel coordinates here. */ 5259 /* Return mouse pixel coordinates here. */
@@ -5262,7 +5261,9 @@ make_lispy_position (struct frame *f, Lisp_Object x, Lisp_Object y,
5262 xret = XFIXNUM (x); 5261 xret = XFIXNUM (x);
5263 yret = XFIXNUM (y); 5262 yret = XFIXNUM (y);
5264 5263
5265 if (FRAME_LIVE_P (f) 5264#ifdef HAVE_WINDOW_SYSTEM
5265 if (FRAME_WINDOW_P (f)
5266 && FRAME_LIVE_P (f)
5266 && FRAME_INTERNAL_BORDER_WIDTH (f) > 0 5267 && FRAME_INTERNAL_BORDER_WIDTH (f) > 0
5267 && !NILP (get_frame_param (f, Qdrag_internal_border))) 5268 && !NILP (get_frame_param (f, Qdrag_internal_border)))
5268 { 5269 {
@@ -5271,8 +5272,8 @@ make_lispy_position (struct frame *f, Lisp_Object x, Lisp_Object y,
5271 5272
5272 posn = builtin_lisp_symbol (internal_border_parts[part]); 5273 posn = builtin_lisp_symbol (internal_border_parts[part]);
5273 } 5274 }
5274 }
5275#endif 5275#endif
5276 }
5276 5277
5277 else 5278 else
5278 window_or_frame = Qnil; 5279 window_or_frame = Qnil;