diff options
author | David Robillard <d@drobilla.net> | 2019-07-21 19:42:50 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-21 21:32:55 +0200 |
commit | 80191fb070d60e7bffd78c2ef9e43b2610f2b8ff (patch) | |
tree | 195be0ccf9b018da9f00e49185290f65a3bb5187 /pugl/pugl.h | |
parent | 081490898ed788a184eb74074130634ce9067174 (diff) | |
download | pugl-80191fb070d60e7bffd78c2ef9e43b2610f2b8ff.tar.gz pugl-80191fb070d60e7bffd78c2ef9e43b2610f2b8ff.tar.bz2 pugl-80191fb070d60e7bffd78c2ef9e43b2610f2b8ff.zip |
Add puglRequestAttention()
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r-- | pugl/pugl.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h index c8e62d4..d744477 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -599,6 +599,16 @@ PUGL_API void puglGrabFocus(PuglView* view); /** + Request user attention. + + This hints to the system that the window or application requires attention + from the user. The exact effect depends on the platform, but is usually + something like flashing a task bar entry. +*/ +PUGL_API void +puglRequestAttention(PuglView* view); + +/** Block and wait for an event to be ready. This can be used in a loop to only process events via puglProcessEvents when |