Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
50389:782e36a6d47d | 50390:2bdbce68ec9a |
---|---|
2965 (FRAME_VISIBLE_P (f) ? Qt | 2965 (FRAME_VISIBLE_P (f) ? Qt |
2966 : FRAME_ICONIFIED_P (f) ? Qicon : Qnil)); | 2966 : FRAME_ICONIFIED_P (f) ? Qicon : Qnil)); |
2967 store_in_alist (alistptr, Qdisplay, | 2967 store_in_alist (alistptr, Qdisplay, |
2968 XCAR (FRAME_X_DISPLAY_INFO (f)->name_list_element)); | 2968 XCAR (FRAME_X_DISPLAY_INFO (f)->name_list_element)); |
2969 | 2969 |
2970 #ifndef HAVE_CARBON | |
2971 /* A Mac Window is identified by a struct, not an integer. */ | |
2970 if (FRAME_X_OUTPUT (f)->parent_desc == FRAME_X_DISPLAY_INFO (f)->root_window) | 2972 if (FRAME_X_OUTPUT (f)->parent_desc == FRAME_X_DISPLAY_INFO (f)->root_window) |
2971 tem = Qnil; | 2973 tem = Qnil; |
2972 else | 2974 else |
2973 XSETFASTINT (tem, FRAME_X_OUTPUT (f)->parent_desc); | 2975 XSETFASTINT (tem, FRAME_X_OUTPUT (f)->parent_desc); |
2974 store_in_alist (alistptr, Qparent_id, tem); | 2976 store_in_alist (alistptr, Qparent_id, tem); |
2977 #endif | |
2975 } | 2978 } |
2976 | 2979 |
2977 | 2980 |
2978 /* Change the `fullscreen' frame parameter of frame F. OLD_VALUE is | 2981 /* Change the `fullscreen' frame parameter of frame F. OLD_VALUE is |
2979 the previous value of that parameter, NEW_VALUE is the new value. */ | 2982 the previous value of that parameter, NEW_VALUE is the new value. */ |