* nsterm.m (ns_mouse_position): Use NS_FRAME_P instead of checking

f->output_data.ns.
This commit is contained in:
Jan Djärv 2013-04-07 12:51:29 +02:00
parent 2625668449
commit 95c0e83b2a
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-03-31 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (ns_mouse_position): Use NS_FRAME_P instead of checking
f->output_data.ns.
2013-04-07 Paul Eggert <eggert@cs.ucla.edu>
Fix --enable-profiling bug introduced by 2013-02-25 change (Bug#13783).

View file

@ -1883,7 +1883,7 @@ Free a pool and temporary objects it refers to (callable from C)
f = dpyinfo->x_focus_frame ? dpyinfo->x_focus_frame
: SELECTED_FRAME ();
if (f && f->output_data.ns) /* TODO: 2nd check no longer needed? */
if (f && FRAME_NS_P (f))
{
view = FRAME_NS_VIEW (*fp);