… | |
… | |
84 | |
84 | |
85 | rxvt_display (const char *id); |
85 | rxvt_display (const char *id); |
86 | bool init (); |
86 | bool init (); |
87 | ~rxvt_display (); |
87 | ~rxvt_display (); |
88 | |
88 | |
|
|
89 | operator Display *() const { return display; } |
|
|
90 | |
89 | void flush (); |
91 | void flush (); |
90 | |
92 | Atom atom (const char *name); |
91 | void set_selection_owner (rxvt_term *owner); |
93 | void set_selection_owner (rxvt_term *owner); |
92 | |
94 | |
93 | void reg (xevent_watcher *w); |
95 | void reg (xevent_watcher *w); |
94 | void unreg (xevent_watcher *w); |
96 | void unreg (xevent_watcher *w); |
95 | |
97 | |
… | |
… | |
98 | void unreg (im_watcher *w); |
100 | void unreg (im_watcher *w); |
99 | |
101 | |
100 | rxvt_xim *get_xim (const char *locale, const char *modifiers); |
102 | rxvt_xim *get_xim (const char *locale, const char *modifiers); |
101 | void put_xim (rxvt_xim *xim); |
103 | void put_xim (rxvt_xim *xim); |
102 | #endif |
104 | #endif |
103 | |
|
|
104 | Atom atom (const char *name); |
|
|
105 | }; |
105 | }; |
106 | |
106 | |
107 | #ifdef USE_XIM |
107 | #ifdef USE_XIM |
108 | struct im_watcher : watcher, callback0<void> { |
108 | struct im_watcher : watcher, callback0<void> { |
109 | template<class O1, class O2> |
109 | template<class O1, class O2> |