diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index ad6665e6068..77d58931d14 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -5304,7 +5304,8 @@ make_lispy_position (f, x, y, time) | |||
| 5304 | &object, &dx, &dy, &width, &height); | 5304 | &object, &dx, &dy, &width, &height); |
| 5305 | if (STRINGP (string)) | 5305 | if (STRINGP (string)) |
| 5306 | string_info = Fcons (string, make_number (charpos)); | 5306 | string_info = Fcons (string, make_number (charpos)); |
| 5307 | if (w == XWINDOW (selected_window)) | 5307 | if (w == XWINDOW (selected_window) |
| 5308 | && current_buffer == XBUFFER (w->buffer)) | ||
| 5308 | textpos = PT; | 5309 | textpos = PT; |
| 5309 | else | 5310 | else |
| 5310 | textpos = XMARKER (w->pointm)->charpos; | 5311 | textpos = XMARKER (w->pointm)->charpos; |