+2013-09-18 Dmitry Antipov <dmantipov@yandex.ru>
+
+ Ifdef away recent changes which aren't relevant to NS port.
+ * dispextern.h (x_mouse_grabbed, x_redo_mouse_highlight)
+ [!HAVE_NS]: Declare as such.
+ * frame.c (x_mouse_grabbed, x_redo_mouse_highlight)
+ [!HAVE_NS]: Define as such.
+
2013-09-18 Dmitry Antipov <dmantipov@yandex.ru>
* frame.c (x_redo_mouse_highlight): New function
RES_TYPE_BOOLEAN_NUMBER
};
-extern bool x_mouse_grabbed (Display_Info *);
extern Display_Info *check_x_display_info (Lisp_Object);
extern Lisp_Object x_get_arg (Display_Info *, Lisp_Object,
Lisp_Object, const char *, const char *class,
enum resource_types);
extern char *x_get_string_resource (XrmDatabase, const char *,
const char *);
+
+#ifndef HAVE_NS /* These both used on W32 and X only. */
+extern bool x_mouse_grabbed (Display_Info *);
extern void x_redo_mouse_highlight (Display_Info *);
+#endif /* HAVE_NS */
#endif /* HAVE_WINDOW_SYSTEM */
return;
}
+#ifndef HAVE_NS
+
/* Non-zero if mouse is grabbed on DPYINFO
and we know the frame where it is. */
dpyinfo->last_mouse_motion_y);
}
+#endif /* HAVE_NS */
+
/* Subroutines of creating an X frame. */
/* Make sure that Vx_resource_name is set to a reasonable value.