emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r112242: * nsterm.m (ns_mouse_positio


From: Jan D.
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112242: * nsterm.m (ns_mouse_position): Use NS_FRAME_P instead of checking
Date: Sun, 07 Apr 2013 12:51:29 +0200
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 112242
committer: Jan D. <address@hidden>
branch nick: trunk
timestamp: Sun 2013-04-07 12:51:29 +0200
message:
  * nsterm.m (ns_mouse_position): Use NS_FRAME_P instead of checking
  f->output_data.ns.
modified:
  src/ChangeLog
  src/nsterm.m
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-04-07 06:21:40 +0000
+++ b/src/ChangeLog     2013-04-07 10:51:29 +0000
@@ -1,3 +1,8 @@
+2013-03-31  Jan Djärv  <address@hidden>
+
+       * nsterm.m (ns_mouse_position): Use NS_FRAME_P instead of checking
+       f->output_data.ns.
+
 2013-04-07  Paul Eggert  <address@hidden>
 
        Fix --enable-profiling bug introduced by 2013-02-25 change (Bug#13783).

=== modified file 'src/nsterm.m'
--- a/src/nsterm.m      2013-04-07 04:41:19 +0000
+++ b/src/nsterm.m      2013-04-07 10:51:29 +0000
@@ -1883,7 +1883,7 @@
         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);
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]