--- rxvt-unicode/src/rxvtlib.h.in 2006/01/15 06:02:41 1.65 +++ rxvt-unicode/src/rxvtlib.h.in 2006/01/17 16:22:41 1.71 @@ -30,8 +30,6 @@ // stdlib.h might provide it #endif -#include "ptytty.h" - extern "C" { #include /* Xlib, Xutil, Xresource, Xfuncproto */ } @@ -62,12 +60,9 @@ extern rxvt_t rxvt_current_term; -#define SET_R(r) rxvt_current_term = (r) +#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 +213,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,7 +232,6 @@ struct rxvt_vars : TermWin_t { scrollBar_t scrollBar; - menuBar_t menuBar; uint32_t options; XSizeHints szHint; rxvt_display *display; @@ -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_ */