--- rxvt-unicode/src/rxvtcolor.h 2004/02/24 16:25:45 1.8 +++ 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; @@ -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 ();