--- rxvt-unicode/src/rxvtlib.h.in 2006/01/16 06:37:52 1.66 +++ rxvt-unicode/src/rxvtlib.h.in 2006/01/29 20:51:28 1.73 @@ -30,10 +30,10 @@ // stdlib.h might provide it #endif -#include "ptytty.h" - extern "C" { -#include /* Xlib, Xutil, Xresource, Xfuncproto */ +#include +#include +#include } /* @@ -54,7 +54,6 @@ struct rxvt_color; struct rxvt_vars; /* defined later on */ struct rxvt_term; -struct rxvt_display; struct rxvt_im; struct rxvt_drawable; @@ -65,9 +64,6 @@ #define SET_R(r) rxvt_current_term = const_cast(r) #define GET_R rxvt_current_term -#define scrollbar_visible() scrollBar.state -#define menubar_visible() menuBar.state - typedef struct { int row; int col; @@ -218,12 +214,6 @@ /* ------------------------------------------------------------------------- */ typedef struct { - short state; - Window win; - struct rxvt_drawable *drawable; -} menuBar_t; - -typedef struct { char state; /* scrollbar state */ char init; /* scrollbar has been initialised */ unsigned int beg; /* slider sub-window begin height */ @@ -243,10 +233,8 @@ struct rxvt_vars : TermWin_t { scrollBar_t scrollBar; - menuBar_t menuBar; uint32_t options; XSizeHints szHint; - rxvt_display *display; rxvt_color *pix_colors; rxvt_color *pix_colors_focused; #ifdef OFF_FOCUS_FADING @@ -255,7 +243,6 @@ short numpix_colors; Cursor TermWin_cursor; /* cursor for vt window */ int sb_shadow; /* scrollbar shadow width */ - rxvt_ptytty pty; int numlock_state; line_t *row_buf; // all lines, scrollback + terminal, circular, followed by temp_buf line_t *drawn_buf; // text on screen @@ -267,7 +254,6 @@ }; void rxvt_init (); -bool rxvt_tainted (); #endif /* _RXVTLIB_H_ */