Commit 2f4b24c3 authored by Andrew Choi's avatar Andrew Choi
Browse files

Fix build on Mac OS X with Carbon.

parent f2029233
2003-03-31 Andrew Choi <>
* frame.c (x_report_frame_params) [HAVE_CARBON]: Do not report
parent window ID.
* macfns.c (syms_of_macfns): Remove call to init_x_parm_symbols.
* macterm.h (struct mac_output): Define x_pixels_diff and
2003-04-01 Kim F. Storm <>
* (frame.o): Add dependency on blockinput.h and files
......@@ -2967,11 +2967,14 @@ x_report_frame_params (f, alistptr)
store_in_alist (alistptr, Qdisplay,
XCAR (FRAME_X_DISPLAY_INFO (f)->name_list_element));
/* A Mac Window is identified by a struct, not an integer. */
if (FRAME_X_OUTPUT (f)->parent_desc == FRAME_X_DISPLAY_INFO (f)->root_window)
tem = Qnil;
XSETFASTINT (tem, FRAME_X_OUTPUT (f)->parent_desc);
store_in_alist (alistptr, Qparent_id, tem);
......@@ -8803,8 +8803,6 @@ syms_of_macfns ()
Fput (Qundefined_color, Qerror_message,
build_string ("Undefined color"));
init_x_parm_symbols ();
DEFVAR_LISP ("x-bitmap-file-path", &Vx_bitmap_file_path,
doc: /* List of directories to search for window system bitmap files. */);
Vx_bitmap_file_path = decode_env_path ((char *) 0, "PATH");
......@@ -432,6 +432,14 @@ struct mac_output {
/* See enum below */
int want_fullscreen;
/* This many pixels are the difference between the outer window (i.e. the
left of the window manager decoration) and FRAME_X_WINDOW. */
int x_pixels_diff;
/* This many pixels are the difference between the outer window (i.e. the
top of the window manager titlebar) and FRAME_X_WINDOW. */
int y_pixels_diff;
typedef struct mac_output mac_output;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment