… | |
… | |
235 | //public |
235 | //public |
236 | Display *dpy; |
236 | Display *dpy; |
237 | int screen; |
237 | int screen; |
238 | Window root; |
238 | Window root; |
239 | rxvt_term *selection_owner; |
239 | rxvt_term *selection_owner; |
|
|
240 | rxvt_term *clipboard_owner; |
240 | Atom xa[NUM_XA]; |
241 | Atom xa[NUM_XA]; |
241 | bool is_local; |
242 | bool is_local; |
242 | #ifdef POINTER_BLANK |
243 | #ifdef POINTER_BLANK |
243 | Cursor blank_cursor; |
244 | Cursor blank_cursor; |
244 | #endif |
245 | #endif |
… | |
… | |
253 | { |
254 | { |
254 | flush_ev.start (); |
255 | flush_ev.start (); |
255 | } |
256 | } |
256 | |
257 | |
257 | Atom atom (const char *name); |
258 | Atom atom (const char *name); |
258 | void set_selection_owner (rxvt_term *owner); |
259 | void set_selection_owner (rxvt_term *owner, bool clipboard); |
259 | |
260 | |
260 | void reg (xevent_watcher *w); |
261 | void reg (xevent_watcher *w); |
261 | void unreg (xevent_watcher *w); |
262 | void unreg (xevent_watcher *w); |
262 | |
263 | |
263 | #ifdef USE_XIM |
264 | #ifdef USE_XIM |
… | |
… | |
352 | bool set (rxvt_screen *screen, const rgba &color); |
353 | bool set (rxvt_screen *screen, const rgba &color); |
353 | |
354 | |
354 | void fade (rxvt_screen *screen, int percent, rxvt_color &result, const rgba &to = rgba (0, 0, 0)); |
355 | void fade (rxvt_screen *screen, int percent, rxvt_color &result, const rgba &to = rgba (0, 0, 0)); |
355 | }; |
356 | }; |
356 | |
357 | |
357 | #if TRACE_PIXMAPS |
|
|
358 | Pixmap trace_XCreatePixmap (const char *file, int line, Display *dpy, Window r, unsigned int w, unsigned int h, unsigned int d); |
|
|
359 | void trace_XFreePixmap (const char *file, int line, Display *dpy, Pixmap p); |
|
|
360 | |
|
|
361 | # define XCreatePixmap(dpy,r,w,h,d) trace_XCreatePixmap (__FILE__,__LINE__,dpy,r,w,h,d) |
|
|
362 | # define XFreePixmap(dpy,p) trace_XFreePixmap (__FILE__,__LINE__,dpy,p) |
|
|
363 | #endif |
358 | #endif |
364 | |
359 | |
365 | #endif |
|
|
366 | |
|
|