ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvttoolkit.h
(Generate patch)

Comparing rxvt-unicode/src/rxvttoolkit.h (file contents):
Revision 1.46 by root, Tue Nov 4 11:03:29 2008 UTC vs.
Revision 1.49 by sf-exg, Fri Oct 22 16:49:26 2010 UTC

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
268 void put_xim (rxvt_xim *xim); 269 void put_xim (rxvt_xim *xim);
269#endif 270#endif
270}; 271};
271 272
272#ifdef USE_XIM 273#ifdef USE_XIM
273struct im_watcher : rxvt_watcher, callback<void (void)> { 274struct im_watcher : rxvt_watcher, callback<void (void)>
275{
274 void start (rxvt_display *display) 276 void start (rxvt_display *display)
275 { 277 {
276 display->reg (this); 278 display->reg (this);
277 } 279 }
278 280
351 bool set (rxvt_screen *screen, const rgba &color); 353 bool set (rxvt_screen *screen, const rgba &color);
352 354
353 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));
354}; 356};
355 357
356#if TRACE_PIXMAPS
357Pixmap trace_XCreatePixmap (const char *file, int line, Display *dpy, Window r, unsigned int w, unsigned int h, unsigned int d);
358void trace_XFreePixmap (const char *file, int line, Display *dpy, Pixmap p);
359
360# define XCreatePixmap(dpy,r,w,h,d) trace_XCreatePixmap (__FILE__,__LINE__,dpy,r,w,h,d)
361# define XFreePixmap(dpy,p) trace_XFreePixmap (__FILE__,__LINE__,dpy,p)
362#endif 358#endif
363 359
364#endif
365

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines