Skip to content
  • Jasper St. Pierre's avatar
    cursor: Move pointer barrier code over to XI · 482e0cb3
    Jasper St. Pierre authored and Peter Hutterer's avatar Peter Hutterer committed
    
    
    In order to send events to specific windows associated with the barrier,
    we need to move the code that handles barriers to somewhere where it's
    easier to construct and send events. Rather than duplicating XSync with
    its XSyncSelectAlarm, re-use the existing XI infrastructure.
    
    For now, just move a bunch of code over, rename some things, and initialize
    the new structures, but still consider it a separate codebase. Pointer barrier
    requests are still handled by XFixes, so this is a weird intermediate state.
    It's unknown whether we'll add explicit requests to pointer barriers inside
    XI.
    
    Signed-off-by: default avatarJasper St. Pierre <jstpierre@mecheye.net>
    Reviewed-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
    482e0cb3