• Owen W. Taylor's avatar
    Handle recursion from motion event handlers · f50a3af1
    Owen W. Taylor authored
    If a motion event handler (or other handler running from the flush-events
    phase of the frame clock) recursed the main loop then flushing wouldn't
    complete until after the recursed main loop returned, and various aspects
    of the state would get out of sync.
    
    To fix this, change flushing of the event queue to simply mark events as
    ready to flush, and let normal event delivery handle the rest.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=705176
    f50a3af1
gdkeventsource.c 12 KB