ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvttoolkit.h
(Generate patch)

Comparing rxvt-unicode/src/rxvttoolkit.h (file contents):
Revision 1.37 by root, Fri Dec 14 04:26:23 2007 UTC vs.
Revision 1.40 by ayin, Wed Dec 26 14:22:30 2007 UTC

29# include <X11/Xft/Xft.h> 29# include <X11/Xft/Xft.h>
30#endif 30#endif
31 31
32#include "ev_cpp.h" 32#include "ev_cpp.h"
33 33
34#include "rxvtlib.h"
35#include "rxvtutil.h" 34#include "rxvtutil.h"
36 35
37#include "callback.h" 36#include "callback.h"
38 37
39// see rxvttoolkit.C:xa_names, which must be kept in sync 38// see rxvttoolkit.C:xa_names, which must be kept in sync
219 218
220struct rxvt_display : refcounted 219struct rxvt_display : refcounted
221{ 220{
222 event_vec<xevent_watcher> xw; 221 event_vec<xevent_watcher> xw;
223 222
223 ev::prepare flush_ev; void flush_cb (ev::prepare &w, int revents);
224 ev::io x_ev; void x_cb (ev::io &w, int revents); 224 ev::io x_ev ; void x_cb (ev::io &w, int revents);
225 225
226#ifdef USE_XIM 226#ifdef USE_XIM
227 refcache<rxvt_xim> xims; 227 refcache<rxvt_xim> xims;
228 vector<im_watcher *> imw; 228 vector<im_watcher *> imw;
229 229
246 XrmDatabase get_resources (bool refresh); 246 XrmDatabase get_resources (bool refresh);
247 bool ref_init (); 247 bool ref_init ();
248 void ref_next (); 248 void ref_next ();
249 ~rxvt_display (); 249 ~rxvt_display ();
250 250
251 void flush (); 251 void flush ()
252 {
253 flush_ev.start ();
254 }
255
252 Atom atom (const char *name); 256 Atom atom (const char *name);
253 void set_selection_owner (rxvt_term *owner); 257 void set_selection_owner (rxvt_term *owner);
254 258
255 void reg (xevent_watcher *w); 259 void reg (xevent_watcher *w);
256 void unreg (xevent_watcher *w); 260 void unreg (xevent_watcher *w);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines