--- rxvt-unicode/src/rxvttoolkit.h 2008/01/26 10:15:20 1.44 +++ rxvt-unicode/src/rxvttoolkit.h 2010/01/24 21:53:13 1.48 @@ -61,6 +61,7 @@ XA_NET_WM_NAME, XA_NET_WM_ICON_NAME, XA_NET_WM_PING, + XA_NET_WM_ICON, #endif #if USE_XIM XA_WM_LOCALE_NAME, @@ -220,7 +221,7 @@ { event_vec xw; - ev::idle flush_ev; void flush_cb (ev::idle &w, int revents); + ev::prepare flush_ev; void flush_cb (ev::prepare &w, int revents); ev::io x_ev ; void x_cb (ev::io &w, int revents); #ifdef USE_XIM @@ -236,6 +237,7 @@ int screen; Window root; rxvt_term *selection_owner; + rxvt_term *clipboard_owner; Atom xa[NUM_XA]; bool is_local; #ifdef POINTER_BLANK @@ -254,7 +256,7 @@ } Atom atom (const char *name); - void set_selection_owner (rxvt_term *owner); + void set_selection_owner (rxvt_term *owner, bool clipboard); void reg (xevent_watcher *w); void unreg (xevent_watcher *w); @@ -269,7 +271,8 @@ }; #ifdef USE_XIM -struct im_watcher : rxvt_watcher, callback { +struct im_watcher : rxvt_watcher, callback +{ void start (rxvt_display *display) { display->reg (this);