aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Djärv2013-04-07 12:51:29 +0200
committerJan Djärv2013-04-07 12:51:29 +0200
commit95c0e83b2a0995ef774d25163d4f66c23399da36 (patch)
tree793e39b19e66097025228f71d3aa2eae68733a48 /src
parent2625668449306fc79588a2e5f3f59ff8052197f7 (diff)
downloademacs-95c0e83b2a0995ef774d25163d4f66c23399da36.tar.gz
emacs-95c0e83b2a0995ef774d25163d4f66c23399da36.zip
* nsterm.m (ns_mouse_position): Use NS_FRAME_P instead of checking
f->output_data.ns.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/nsterm.m2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 75a7388f2c4..545df8e050f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12013-03-31 Jan Djärv <jan.h.d@swipnet.se>
2
3 * nsterm.m (ns_mouse_position): Use NS_FRAME_P instead of checking
4 f->output_data.ns.
5
12013-04-07 Paul Eggert <eggert@cs.ucla.edu> 62013-04-07 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 Fix --enable-profiling bug introduced by 2013-02-25 change (Bug#13783). 8 Fix --enable-profiling bug introduced by 2013-02-25 change (Bug#13783).
diff --git a/src/nsterm.m b/src/nsterm.m
index bc3150c0a07..f5b48ee4b11 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -1883,7 +1883,7 @@ ns_mouse_position (struct frame **fp, int insist, Lisp_Object *bar_window,
1883 f = dpyinfo->x_focus_frame ? dpyinfo->x_focus_frame 1883 f = dpyinfo->x_focus_frame ? dpyinfo->x_focus_frame
1884 : SELECTED_FRAME (); 1884 : SELECTED_FRAME ();
1885 1885
1886 if (f && f->output_data.ns) /* TODO: 2nd check no longer needed? */ 1886 if (f && FRAME_NS_P (f))
1887 { 1887 {
1888 view = FRAME_NS_VIEW (*fp); 1888 view = FRAME_NS_VIEW (*fp);
1889 1889