diff options
| author | Jan Djärv | 2014-10-30 18:23:52 +0100 |
|---|---|---|
| committer | Jan Djärv | 2014-10-30 18:23:52 +0100 |
| commit | b7bf631c809e7dc31ba423ac93bdf30d092f6129 (patch) | |
| tree | 40bb74e18b5ac07035222e10abd189b50dba76d8 /src/nsterm.h | |
| parent | fda2bc46a80aa8c9e2742f6ca149969664c79dc7 (diff) | |
| download | emacs-b7bf631c809e7dc31ba423ac93bdf30d092f6129.tar.gz emacs-b7bf631c809e7dc31ba423ac93bdf30d092f6129.zip | |
* nsfns.m (x_icon): icon_top/left is int.
* nsterm.h (EmacsScroller): Replace Lisp_Object win with
struct window*.
Remove getMouseMotionPart.
(ns_output): Make icon_top/left int.
* nsterm.m (ns_mouse_position): Remove unused code.
(initFrame:window:, dealloc): Use window instead of win.
(getMouseMotionPart:window:x:y:): Remove, unused.
(sendScrollEventAtLoc:fromEvent:): Make Lisp_Object win from window.
Fixes: debbugs:18889
Diffstat (limited to 'src/nsterm.h')
| -rw-r--r-- | src/nsterm.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/nsterm.h b/src/nsterm.h index 8c3e4e5c314..a6081e8da57 100644 --- a/src/nsterm.h +++ b/src/nsterm.h | |||
| @@ -393,7 +393,7 @@ typedef float EmacsCGFloat; | |||
| 393 | 393 | ||
| 394 | @interface EmacsScroller : NSScroller | 394 | @interface EmacsScroller : NSScroller |
| 395 | { | 395 | { |
| 396 | Lisp_Object win; | 396 | struct window *window; |
| 397 | struct frame *frame; | 397 | struct frame *frame; |
| 398 | NSResponder *prevResponder; | 398 | NSResponder *prevResponder; |
| 399 | 399 | ||
| @@ -418,8 +418,6 @@ typedef float EmacsCGFloat; | |||
| 418 | - setPosition: (int) position portion: (int) portion whole: (int) whole; | 418 | - setPosition: (int) position portion: (int) portion whole: (int) whole; |
| 419 | - (int) checkSamePosition: (int)position portion: (int)portion | 419 | - (int) checkSamePosition: (int)position portion: (int)portion |
| 420 | whole: (int)whole; | 420 | whole: (int)whole; |
| 421 | - (void) getMouseMotionPart: (int *)part window: (Lisp_Object *)window | ||
| 422 | x: (Lisp_Object *)x y: ( Lisp_Object *)y; | ||
| 423 | - (void) sendScrollEventAtLoc: (float)loc fromEvent: (NSEvent *)e; | 421 | - (void) sendScrollEventAtLoc: (float)loc fromEvent: (NSEvent *)e; |
| 424 | - repeatScroll: (NSTimer *)sender; | 422 | - repeatScroll: (NSTimer *)sender; |
| 425 | - condemn; | 423 | - condemn; |
| @@ -685,8 +683,8 @@ struct ns_output | |||
| 685 | value contains an ID of the fontset, else -1. */ | 683 | value contains an ID of the fontset, else -1. */ |
| 686 | int fontset; /* only used with font_backend */ | 684 | int fontset; /* only used with font_backend */ |
| 687 | 685 | ||
| 688 | Lisp_Object icon_top; | 686 | int icon_top; |
| 689 | Lisp_Object icon_left; | 687 | int icon_left; |
| 690 | 688 | ||
| 691 | /* The size of the extra width currently allotted for vertical | 689 | /* The size of the extra width currently allotted for vertical |
| 692 | scroll bars, in pixels. */ | 690 | scroll bars, in pixels. */ |