Menu

#118 Use vte_terminal_match_check_event

Next_release
open
nobody
None
1
2015-11-24
2015-11-21
No

vte_terminal_match_check() is deprecated since 0.43, because it by design cannot work properly with the brand new smooth scrolling feature.

Please use vte_terminal_match_check_event() instad.

Discussion

  • Egmont Koblinger

    I'm too lazy to attach the patch, it's so trivial :D

     -    roxterm->matched_url = vte_terminal_match_check(vte,
     -        (event_x - ypad) / vte_terminal_get_char_width(vte),
     -        (event_y - ypad) / vte_terminal_get_char_height(vte), &tag);
     +    roxterm->matched_url = vte_terminal_match_check_event(vte, event, &tag);
    
     

    Last edit: Egmont Koblinger 2015-11-22
  • Tony Houghton

    Tony Houghton - 2015-11-24

    It wasn't quite that trivial, because event wasn't actually a parameter to the function that was in, but I coped ;).

    I see vte_terminal_match_check_event is already in 0.40, my minimum supported version now, so I'm happy to make this change for the next release.

     

Anonymous
Anonymous

Add attachments
Cancel