diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2014-05-28 17:53:22 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2014-05-28 17:53:22 +0400 |
commit | 2b5113740643a2243e56d0878e179aef634adf38 (patch) | |
tree | 22db63baeac1dc08bb339873d96b725c5d870965 /src/w32term.h | |
parent | 8e6abb850674e59f5aba56bb28edade1a2ac0b47 (diff) | |
download | emacs-2b5113740643a2243e56d0878e179aef634adf38.tar.gz |
Refactor mouse positioning stuff to avoid code duplication.
* frame.h (frame_char_to_pixel_position): New function.
(x_set_mouse_position): Rename to...
(frame_set_mouse_position): ...new function.
(frame_set_mouse_pixel_position): Add prototype.
* nsterm.m, w32term.c, xterm.c (x_set_mouse_pixel_position):
Rename to frame_set_mouse_pixel_position.
* frame.c (Fset_mouse_pixel_position, Fset_mouse_position):
Adjust users.
* xterm.h, w32term.h ( x_set_mouse_position)
(x_set_mouse_pixel_position): Remove prototypes.
Diffstat (limited to 'src/w32term.h')
-rw-r--r-- | src/w32term.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/w32term.h b/src/w32term.h index e3b65f0ffaf..561a280b65f 100644 --- a/src/w32term.h +++ b/src/w32term.h @@ -219,8 +219,6 @@ extern void x_set_window_size (struct frame *f, int change_grav, extern int x_display_pixel_height (struct w32_display_info *); extern int x_display_pixel_width (struct w32_display_info *); extern Lisp_Object x_get_focus_frame (struct frame *); -extern void x_set_mouse_position (struct frame *f, int h, int v); -extern void x_set_mouse_pixel_position (struct frame *f, int pix_x, int pix_y); extern void x_make_frame_visible (struct frame *f); extern void x_make_frame_invisible (struct frame *f); extern void x_iconify_frame (struct frame *f); |