--- rxvt-unicode/src/rxvtcolor.h 2004/02/13 12:16:21 1.7 +++ rxvt-unicode/src/rxvtcolor.h 2004/03/29 21:02:11 1.10 @@ -14,6 +14,17 @@ #include "callback.h" +extern class byteorder { + uint32_t e; +public: + byteorder (); + + bool big_endian () { return e == 0x11223344; }; + bool network () { return e == 0x11223344; }; + bool little_endian () { return e == 0x44332211; }; + bool vax () { return e == 0x44332211; }; +} byteorder; + struct rxvt_term; struct im_watcher; @@ -24,7 +35,7 @@ char *id; refcounted (const char *id); - bool init () { } + bool init () { return false; } ~refcounted (); }; @@ -52,8 +63,6 @@ struct rxvt_display : refcounted { Atom xa_xim_servers; - rxvt_term *selection_owner; - io_manager_vec xw; io_watcher x_ev; void x_cb (io_watcher &w, short revents); @@ -70,6 +79,7 @@ Visual *visual; Colormap cmap; Window root; + rxvt_term *selection_owner; rxvt_display (const char *id); bool init ();