aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorMichael Albinus2020-10-23 16:26:47 +0200
committerMichael Albinus2020-10-23 16:26:47 +0200
commitc847d5998f588dbf3eca5ea1ec573a2d64a97607 (patch)
tree385256d979f91ea233f084f8ebe21cb963ac84ff /src/keyboard.c
parent8101083c7ab885281cbe1ede717957c8080f7111 (diff)
parent8b87ea6844036c168c9ec67dd318ee3ba8dab5ae (diff)
downloademacs-c847d5998f588dbf3eca5ea1ec573a2d64a97607.tar.gz
emacs-c847d5998f588dbf3eca5ea1ec573a2d64a97607.zip
Merge branch 'emacs-27' of git.sv.gnu.org:/srv/git/emacs into emacs-27
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 5f136f03ecf..fca71985b92 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -5246,7 +5246,6 @@ make_lispy_position (struct frame *f, Lisp_Object x, Lisp_Object y,
5246 extra_info))); 5246 extra_info)));
5247 } 5247 }
5248 5248
5249#ifdef HAVE_WINDOW_SYSTEM
5250 else if (f) 5249 else if (f)
5251 { 5250 {
5252 /* Return mouse pixel coordinates here. */ 5251 /* Return mouse pixel coordinates here. */
@@ -5254,7 +5253,9 @@ make_lispy_position (struct frame *f, Lisp_Object x, Lisp_Object y,
5254 xret = XFIXNUM (x); 5253 xret = XFIXNUM (x);
5255 yret = XFIXNUM (y); 5254 yret = XFIXNUM (y);
5256 5255
5257 if (FRAME_LIVE_P (f) 5256#ifdef HAVE_WINDOW_SYSTEM
5257 if (FRAME_WINDOW_P (f)
5258 && FRAME_LIVE_P (f)
5258 && FRAME_INTERNAL_BORDER_WIDTH (f) > 0 5259 && FRAME_INTERNAL_BORDER_WIDTH (f) > 0
5259 && !NILP (get_frame_param (f, Qdrag_internal_border))) 5260 && !NILP (get_frame_param (f, Qdrag_internal_border)))
5260 { 5261 {
@@ -5263,8 +5264,8 @@ make_lispy_position (struct frame *f, Lisp_Object x, Lisp_Object y,
5263 5264
5264 posn = builtin_lisp_symbol (internal_border_parts[part]); 5265 posn = builtin_lisp_symbol (internal_border_parts[part]);
5265 } 5266 }
5266 }
5267#endif 5267#endif
5268 }
5268 5269
5269 else 5270 else
5270 window_or_frame = Qnil; 5271 window_or_frame = Qnil;