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

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.16 by root, Tue Jan 3 17:34:44 2006 UTC vs.
Revision 1.17 by root, Tue Jan 3 18:11:34 2006 UTC

367 if (htype == HOOK_INIT) // first hook ever called 367 if (htype == HOOK_INIT) // first hook ever called
368 { 368 {
369 term->self = (void *)newSVptr ((void *)term, "urxvt::term"); 369 term->self = (void *)newSVptr ((void *)term, "urxvt::term");
370 hv_store ((HV *)SvRV ((SV *)term->self), "_overlay", 8, newRV_noinc ((SV *)newHV ()), 0); 370 hv_store ((HV *)SvRV ((SV *)term->self), "_overlay", 8, newRV_noinc ((SV *)newHV ()), 0);
371 } 371 }
372 else if (!term->self)
373 return false; // perl not initialized for this instance
372 else if (htype == HOOK_DESTROY) 374 else if (htype == HOOK_DESTROY)
373 { 375 {
374 // handled later 376 // handled later
375 } 377 }
376 else if (htype == HOOK_REFRESH_BEGIN || htype == HOOK_REFRESH_END) 378 else if (htype == HOOK_REFRESH_BEGIN || htype == HOOK_REFRESH_END)
472 set_hookname (DESTROY); 474 set_hookname (DESTROY);
473 set_hookname (SEL_BEGIN); 475 set_hookname (SEL_BEGIN);
474 set_hookname (SEL_EXTEND); 476 set_hookname (SEL_EXTEND);
475 set_hookname (SEL_MAKE); 477 set_hookname (SEL_MAKE);
476 set_hookname (SEL_GRAB); 478 set_hookname (SEL_GRAB);
477 set_hookname (SEL_CLICK);
478 set_hookname (FOCUS_IN); 479 set_hookname (FOCUS_IN);
479 set_hookname (FOCUS_OUT); 480 set_hookname (FOCUS_OUT);
480 set_hookname (VIEW_CHANGE); 481 set_hookname (VIEW_CHANGE);
481 set_hookname (SCROLL_BACK); 482 set_hookname (SCROLL_BACK);
482 set_hookname (TTY_ACTIVITY); 483 set_hookname (TTY_ACTIVITY);
483 set_hookname (REFRESH_BEGIN); 484 set_hookname (REFRESH_BEGIN);
484 set_hookname (REFRESH_END); 485 set_hookname (REFRESH_END);
485 set_hookname (KEYBOARD_COMMAND); 486 set_hookname (KEYBOARD_COMMAND);
486 set_hookname (MOUSE_CLICK);
487 set_hookname (MOUSE_MOVE);
488 487
489 export_const (DEFAULT_RSTYLE); 488 export_const (DEFAULT_RSTYLE);
490 export_const (OVERLAY_RSTYLE); 489 export_const (OVERLAY_RSTYLE);
491 export_const (RS_Bold); 490 export_const (RS_Bold);
492 export_const (RS_Italic); 491 export_const (RS_Italic);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines