Skip to content
  • Jasper St. Pierre's avatar
    pointer/keyboard: Make sure not to get stale on client resources as well · a364c2a9
    Jasper St. Pierre authored
    Both the pointer/keyboard resource and surface resource can be destroyed
    at any point in the destruction process, so we need to have destroy
    listeners on both. To make the code easier to follow, rename ->focus
    to ->focus_surface at the same time, and rearrange the code so that
    the two of them are always grouped together.
    a364c2a9