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.59 by sf-exg, Sun Jun 3 15:50:22 2012 UTC vs.
Revision 1.61 by root, Mon Jun 4 15:18:52 2012 UTC

178#endif 178#endif
179}; 179};
180 180
181///////////////////////////////////////////////////////////////////////////// 181/////////////////////////////////////////////////////////////////////////////
182 182
183#ifdef USE_XIM 183#if USE_XIM
184struct rxvt_xim : refcounted 184struct rxvt_xim : refcounted
185{ 185{
186 void destroy (); 186 void destroy ();
187 rxvt_display *display; 187 rxvt_display *display;
188 188
229 event_vec<xevent_watcher> xw; 229 event_vec<xevent_watcher> xw;
230 230
231 ev::prepare flush_ev; void flush_cb (ev::prepare &w, int revents); 231 ev::prepare flush_ev; void flush_cb (ev::prepare &w, int revents);
232 ev::io x_ev ; void x_cb (ev::io &w, int revents); 232 ev::io x_ev ; void x_cb (ev::io &w, int revents);
233 233
234#ifdef USE_XIM 234#if USE_XIM
235 refcache<rxvt_xim> xims; 235 refcache<rxvt_xim> xims;
236 vector<im_watcher *> imw; 236 vector<im_watcher *> imw;
237 237
238 void im_change_cb (); 238 void im_change_cb ();
239 void im_change_check (); 239 void im_change_check ();
262 { 262 {
263 flush_ev.start (); 263 flush_ev.start ();
264 } 264 }
265 265
266 Atom atom (const char *name); 266 Atom atom (const char *name);
267 Pixmap get_pixmap_property (Atom property);
267 void set_selection_owner (rxvt_term *owner, bool clipboard); 268 void set_selection_owner (rxvt_term *owner, bool clipboard);
268 269
269 void reg (xevent_watcher *w); 270 void reg (xevent_watcher *w);
270 void unreg (xevent_watcher *w); 271 void unreg (xevent_watcher *w);
271 272
272#ifdef USE_XIM 273#if USE_XIM
273 void reg (im_watcher *w); 274 void reg (im_watcher *w);
274 void unreg (im_watcher *w); 275 void unreg (im_watcher *w);
275 276
276 rxvt_xim *get_xim (const char *locale, const char *modifiers); 277 rxvt_xim *get_xim (const char *locale, const char *modifiers);
277 void put_xim (rxvt_xim *xim); 278 void put_xim (rxvt_xim *xim);
278#endif 279#endif
279}; 280};
280 281
281#ifdef USE_XIM 282#if USE_XIM
282struct im_watcher : rxvt_watcher, callback<void (void)> 283struct im_watcher : rxvt_watcher, callback<void (void)>
283{ 284{
284 void start (rxvt_display *display) 285 void start (rxvt_display *display)
285 { 286 {
286 display->reg (this); 287 display->reg (this);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines