Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
019b1f0e
Commit
019b1f0e
authored
Nov 29, 2003
by
Jan Djärv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dispnew.c (buffer_posn_from_coords): Add ifdef HAVE_WINDOW_SYSTEM
to compile on terminal configuration.
parent
03d6484e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
src/ChangeLog
src/ChangeLog
+3
-0
src/dispnew.c
src/dispnew.c
+2
-0
No files found.
src/ChangeLog
View file @
019b1f0e
2003-11-29 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* dispnew.c (buffer_posn_from_coords): Add ifdef HAVE_WINDOW_SYSTEM
to compile on terminal configuration.
* fileio.c (Fread_file_name): Check use_file_dialog also before
calling Fx_file_dialog.
...
...
src/dispnew.c
View file @
019b1f0e
...
...
@@ -5726,11 +5726,13 @@ buffer_posn_from_coords (w, x, y, dx, dy, object, pos)
*dx = x0 + it.first_visible_x - it.current_x;
*dy = *y - it.current_y;
#ifdef HAVE_WINDOW_SYSTEM
if (it.what == IT_IMAGE
&& (img = IMAGE_FROM_ID (it.f, it.image_id)) != NULL
&& !NILP (img->spec))
*object = img->spec;
else
#endif
*object = STRINGP (it.string) ? it.string : w->buffer;
*pos = it.current;
*x = it.hpos;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment