Skip to content

Add the waitFor() API

Olivier Fourdan requested to merge wait_for into master

Add a new waitFor() API which takes care of waiting for a window to be mapped and focused on screen.

After launching a new program, the caller can use this to wait for the corresponding window to show up on screen and receive input focus, rather than using sleep() and the like that are not guaranteed to work depending on the time the client takes.

Merge request reports