flush

fnint flush() nothrow @nogc

Processes all pending events and returns immediately.

This is equivalent to calling wait(0) and is useful for flushing the event queue.

Returns

Non-zero if there are still visible windows