set _NET_WM_USER_TIME on the window
[dana/urxvt.git] / src / rxvttoolkit.h
index 8b87e98..d0ef9d6 100644 (file)
@@ -62,6 +62,7 @@ enum {
   XA_NET_WM_ICON_NAME,
   XA_NET_WM_PING,
   XA_NET_WM_ICON,
+  XA_NET_WM_USER_TIME,
 #endif
 #if USE_XIM
   XA_WM_LOCALE_NAME,
@@ -237,6 +238,7 @@ struct rxvt_display : refcounted
   int       screen;
   Window    root;
   rxvt_term *selection_owner;
+  rxvt_term *clipboard_owner;
   Atom      xa[NUM_XA];
   bool      is_local;
 #ifdef POINTER_BLANK
@@ -255,7 +257,7 @@ struct rxvt_display : refcounted
   }
 
   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);