From 80191fb070d60e7bffd78c2ef9e43b2610f2b8ff Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 21 Jul 2019 19:42:50 +0200 Subject: Add puglRequestAttention() --- pugl/pugl.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pugl/pugl.h') diff --git a/pugl/pugl.h b/pugl/pugl.h index c8e62d4..d744477 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -598,6 +598,16 @@ puglIgnoreKeyRepeat(PuglView* view, bool ignore); 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. -- cgit v1.2.1