Skip to content
  • Daniel Boles's avatar
    Popover: Clarify/guard out rect of get_pointing_to · a6d40b61
    Daniel Boles authored
    Clarify that we zero out the widget coords and only keep its dimensions.
    
    If we have no widget to fall-back to, memset to 0 the output @rect since
    we return FALSE whether or not we have widget, so protect users from not
    knowing if there was a widget and possibly accessing uninitialised ints.
    
    Fixes #893 (comment 1766079)
    a6d40b61