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

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.349 by sf-exg, Thu Jan 27 17:37:19 2011 UTC vs.
Revision 1.352 by sf-exg, Fri Feb 11 01:24:46 2011 UTC

187#endif 187#endif
188 child_ev.set <rxvt_term, &rxvt_term::child_cb> (this); 188 child_ev.set <rxvt_term, &rxvt_term::child_cb> (this);
189 flush_ev.set <rxvt_term, &rxvt_term::flush_cb> (this); 189 flush_ev.set <rxvt_term, &rxvt_term::flush_cb> (this);
190 destroy_ev.set <rxvt_term, &rxvt_term::destroy_cb> (this); 190 destroy_ev.set <rxvt_term, &rxvt_term::destroy_cb> (this);
191 pty_ev.set <rxvt_term, &rxvt_term::pty_cb> (this); 191 pty_ev.set <rxvt_term, &rxvt_term::pty_cb> (this);
192 incr_ev.set <rxvt_term, &rxvt_term::incr_cb> (this);
193 termwin_ev.set <rxvt_term, &rxvt_term::x_cb> (this); 192 termwin_ev.set <rxvt_term, &rxvt_term::x_cb> (this);
194 vt_ev.set <rxvt_term, &rxvt_term::x_cb> (this); 193 vt_ev.set <rxvt_term, &rxvt_term::x_cb> (this);
195 194
196 cmdbuf_ptr = cmdbuf_endp = cmdbuf_base; 195 cmdbuf_ptr = cmdbuf_endp = cmdbuf_base;
197 196
227#endif 226#endif
228 delete fontset[0]; 227 delete fontset[0];
229 228
230#ifdef HAVE_BG_PIXMAP 229#ifdef HAVE_BG_PIXMAP
231 bg_destroy (); 230 bg_destroy ();
232#endif
233#ifdef HAVE_AFTERIMAGE
234 if (asv)
235 destroy_asvisual (asv, 0);
236 if (asimman)
237 destroy_image_manager (asimman, 0);
238#endif 231#endif
239 232
240 if (display) 233 if (display)
241 { 234 {
242 selection_clear (); 235 selection_clear ();
279 // TODO: manage env vars in child only(!) 272 // TODO: manage env vars in child only(!)
280 free (env_display); 273 free (env_display);
281 free (env_term); 274 free (env_term);
282 free (locale); 275 free (locale);
283 free (v_buffer); 276 free (v_buffer);
284 free (incr_buf);
285 277
286 delete envv; 278 delete envv;
287 delete argv; 279 delete argv;
288 280
289#ifdef KEYSYM_RESOURCE 281#ifdef KEYSYM_RESOURCE
325#endif 317#endif
326 scrollbar_ev.stop (display); 318 scrollbar_ev.stop (display);
327#if ENABLE_TRANSPARENCY || ENABLE_PERL 319#if ENABLE_TRANSPARENCY || ENABLE_PERL
328 rootwin_ev.stop (display); 320 rootwin_ev.stop (display);
329#endif 321#endif
330 incr_ev.stop ();
331 termwin_ev.stop (display); 322 termwin_ev.stop (display);
332 vt_ev.stop (display); 323 vt_ev.stop (display);
333 } 324 }
334 325
335 flush_ev.stop (); 326 flush_ev.stop ();
1181 1172
1182 atom = XInternAtom (dpy, server, False); 1173 atom = XInternAtom (dpy, server, False);
1183 win = XGetSelectionOwner (dpy, atom); 1174 win = XGetSelectionOwner (dpy, atom);
1184 1175
1185 if (win != None) 1176 if (win != None)
1186 return True; 1177 return true;
1187 } 1178 }
1188 1179
1189 return False; 1180 return false;
1190} 1181}
1191 1182
1192void 1183void
1193rxvt_term::IMSendSpot () 1184rxvt_term::IMSendSpot ()
1194{ 1185{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines