aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-21 19:42:50 +0200
committerDavid Robillard <d@drobilla.net>2019-07-21 21:32:55 +0200
commit80191fb070d60e7bffd78c2ef9e43b2610f2b8ff (patch)
tree195be0ccf9b018da9f00e49185290f65a3bb5187 /pugl/pugl.h
parent081490898ed788a184eb74074130634ce9067174 (diff)
downloadpugl-80191fb070d60e7bffd78c2ef9e43b2610f2b8ff.tar.gz
pugl-80191fb070d60e7bffd78c2ef9e43b2610f2b8ff.tar.bz2
pugl-80191fb070d60e7bffd78c2ef9e43b2610f2b8ff.zip
Add puglRequestAttention()
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h10
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