]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix macOS build
authorPo Lu <luangruo@yahoo.com>
Thu, 2 Jun 2022 07:49:50 +0000 (15:49 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 2 Jun 2022 07:49:50 +0000 (15:49 +0800)
* src/nsterm.m (ns_mouse_position): Fix typos.

src/nsterm.m

index b7b7bc2ad34924f494863e2447fda20f60487e73..ecaca5b87fa1f719bf9a5cd8385116310365d502 100644 (file)
@@ -2337,8 +2337,8 @@ ns_mouse_position (struct frame **fp, int insist, Lisp_Object *bar_window,
                         belowWindowWithWindowNumber: window_number];
       w = [NSApp windowWithWindowNumber: window_number];
 
-      if (EQ (EQ (track_mouse, Qdrag_source)
-             || EQ (track_mouse, Qdropping))
+      if ((EQ (track_mouse, Qdrag_source)
+          || EQ (track_mouse, Qdropping))
          && w && [[w delegate] isKindOfClass: [EmacsTooltip class]])
        continue;