--- rxvt-unicode/src/rxvttoolkit.h 2004/08/25 02:33:09 1.2 +++ rxvt-unicode/src/rxvttoolkit.h 2005/01/17 00:59:24 1.7 @@ -36,7 +36,12 @@ struct refcache : vector { T *get (const char *id); void put (T *obj); - ~refcache (); + void clear (); + + ~refcache () + { + clear (); + } }; ///////////////////////////////////////////////////////////////////////////// @@ -67,26 +72,32 @@ vector imw; void im_change_cb (); + void im_change_check (); #endif //public - Display *display; - int depth; - int screen; - Visual *visual; - Colormap cmap; - Window root; + Display *display; + int depth; + int screen; + Visual *visual; + Colormap cmap; + Window root; rxvt_term *selection_owner; #ifndef NO_SLOW_LINK_SUPPORT - bool is_local; + bool is_local; +#endif +#ifdef POINTER_BLANK + Cursor blank_cursor; #endif rxvt_display (const char *id); bool init (); ~rxvt_display (); - void flush (); + operator Display *() const { return display; } + void flush (); + Atom atom (const char *name); void set_selection_owner (rxvt_term *owner); void reg (xevent_watcher *w); @@ -99,8 +110,6 @@ rxvt_xim *get_xim (const char *locale, const char *modifiers); void put_xim (rxvt_xim *xim); #endif - - Atom atom (const char *name); }; #ifdef USE_XIM