Mercurial > emacs
diff src/frame.c @ 50390:2bdbce68ec9a
Fix build on Mac OS X with Carbon.
| author | Andrew Choi <akochoi@shaw.ca> |
|---|---|
| date | Tue, 01 Apr 2003 01:09:13 +0000 |
| parents | 8be64cfd36fe |
| children | 7ac9c3bea5ea |
line wrap: on
line diff
--- a/src/frame.c Tue Apr 01 01:06:19 2003 +0000 +++ b/src/frame.c Tue Apr 01 01:09:13 2003 +0000 @@ -2967,11 +2967,14 @@ store_in_alist (alistptr, Qdisplay, XCAR (FRAME_X_DISPLAY_INFO (f)->name_list_element)); +#ifndef HAVE_CARBON +/* 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; else XSETFASTINT (tem, FRAME_X_OUTPUT (f)->parent_desc); store_in_alist (alistptr, Qparent_id, tem); +#endif }
