• 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.
gdkevents.c 54.7 KB