Mercurial > hg > xemacs-beta
comparison src/console-x-impl.h @ 3381:374186f156d5
[xemacs-hg @ 2006-05-06 17:55:58 by stephent]
metacity maximization fix, see src/ChangeLog.
<87ejz7t57b.fsf_-_@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Sat, 06 May 2006 17:56:00 +0000 |
parents | ad2f4ae9895b |
children | 56e67d42eb04 |
comparison
equal
deleted
inserted
replaced
3380:72f5451ab2f0 | 3381:374186f156d5 |
---|---|
37 | 37 |
38 #include "console-impl.h" | 38 #include "console-impl.h" |
39 #include "console-x.h" | 39 #include "console-x.h" |
40 | 40 |
41 DECLARE_CONSOLE_TYPE (x); | 41 DECLARE_CONSOLE_TYPE (x); |
42 | |
43 extern int wedge_metacity; | |
42 | 44 |
43 struct x_device | 45 struct x_device |
44 { | 46 { |
45 #ifdef NEW_GC | 47 #ifdef NEW_GC |
46 struct lrecord_header header; | 48 struct lrecord_header header; |
232 #define DEVICE_XATOM_CHARSET_REGISTRY(d) (DEVICE_X_DATA (d)->Xatom_CHARSET_REGISTRY) | 234 #define DEVICE_XATOM_CHARSET_REGISTRY(d) (DEVICE_X_DATA (d)->Xatom_CHARSET_REGISTRY) |
233 #define DEVICE_XATOM_CHARSET_ENCODING(d) (DEVICE_X_DATA (d)->Xatom_CHARSET_ENCODING) | 235 #define DEVICE_XATOM_CHARSET_ENCODING(d) (DEVICE_X_DATA (d)->Xatom_CHARSET_ENCODING) |
234 | 236 |
235 /* The maximum number of widgets that can be displayed above the text | 237 /* The maximum number of widgets that can be displayed above the text |
236 area at one time. Currently no more than 3 will ever actually be | 238 area at one time. Currently no more than 3 will ever actually be |
237 displayed (menubar, psheet, debugger panel). */ | 239 displayed (menubar, psheet, debugger panel). |
240 #### Are "psheet" and "debugger panel" relevant any more? */ | |
238 #define MAX_CONCURRENT_TOP_WIDGETS 8 | 241 #define MAX_CONCURRENT_TOP_WIDGETS 8 |
239 | 242 |
240 struct x_frame | 243 struct x_frame |
241 { | 244 { |
242 #ifdef NEW_GC | 245 #ifdef NEW_GC |
243 struct lrecord_header header; | 246 struct lrecord_header header; |
244 #endif /* NEW_GC */ | 247 #endif /* NEW_GC */ |
245 | 248 |
246 /* The widget of this frame. This is an EmacsShell or an | 249 /* The widget of this frame. |
247 ExternalShell. */ | 250 This is an EmacsShell or an ExternalShell. |
251 It negotiates with the window manager or containing app on behalf of | |
252 the container widget. Should be (but isn't) invisible to Emacs. */ | |
248 Widget widget; | 253 Widget widget; |
249 | 254 |
250 /* The parent of the EmacsFrame, the menubar, and the scrollbars. | 255 /* The parent of the EmacsFrame, the menubar, and the scrollbars. |
251 This is an EmacsManager. */ | 256 This is an EmacsManager. |
257 It is responsible for managing the geometry of the frame. This is what | |
258 Emacs mostly talks to. Anything that affects its geometry will be | |
259 reflected in the Shell widget, and thus cause WM interaction. */ | |
252 Widget container; | 260 Widget container; |
253 | 261 |
254 /* The widget of the menubar, of whatever widget class it happens to be. */ | 262 /* The widget of the menubar, of whatever widget class it happens to be. */ |
255 Widget menubar_widget; | 263 Widget menubar_widget; |
256 | 264 |