comparison src/frame.h @ 267:966663fcf606 r20-5b32

Import from CVS: tag r20-5b32
author cvs
date Mon, 13 Aug 2007 10:26:29 +0200
parents 727739f917cb
children b2472a1930f2
comparison
equal deleted inserted replaced
266:18d185df8c54 267:966663fcf606
448 that tells you about what's actually visible rather than what should 448 that tells you about what's actually visible rather than what should
449 be used when computing the frame size. */ 449 be used when computing the frame size. */
450 450
451 #ifdef HAVE_TOOLBARS 451 #ifdef HAVE_TOOLBARS
452 #define FRAME_RAW_REAL_TOOLBAR_VISIBLE(f, pos) \ 452 #define FRAME_RAW_REAL_TOOLBAR_VISIBLE(f, pos) \
453 (!NILP (XWINDOW (FRAME_LAST_NONMINIBUF_WINDOW (f))->toolbar_visible_p[pos])) 453 (HAS_DEVMETH_P (XDEVICE (FRAME_DEVICE (f)), initialize_frame_toolbars) \
454 && !NILP (XWINDOW (FRAME_LAST_NONMINIBUF_WINDOW (f))->toolbar_visible_p[pos]))
454 #define FRAME_RAW_REAL_TOOLBAR_BORDER_WIDTH(f, pos) \ 455 #define FRAME_RAW_REAL_TOOLBAR_BORDER_WIDTH(f, pos) \
455 (XINT (XWINDOW (FRAME_LAST_NONMINIBUF_WINDOW (f))->toolbar_border_width[pos])) 456 (XINT (XWINDOW (FRAME_LAST_NONMINIBUF_WINDOW (f))->toolbar_border_width[pos]))
456 #define FRAME_RAW_REAL_TOOLBAR_SIZE(f, pos) \ 457 #define FRAME_RAW_REAL_TOOLBAR_SIZE(f, pos) \
457 (XINT (XWINDOW (FRAME_LAST_NONMINIBUF_WINDOW (f))->toolbar_size[pos])) 458 (XINT (XWINDOW (FRAME_LAST_NONMINIBUF_WINDOW (f))->toolbar_size[pos]))
458 #define FRAME_REAL_TOOLBAR(f, pos) \ 459 #define FRAME_REAL_TOOLBAR(f, pos) \