From 4d6caa68288a2c172736eda1300d728d7d1a7e16 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 6 Mar 2020 21:52:45 +0100 Subject: Move puglHasFocus() after puglGrabFocus() for consistency --- pugl/pugl.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'pugl') diff --git a/pugl/pugl.h b/pugl/pugl.h index 04add26..9a1b999 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -788,18 +788,18 @@ puglLeaveContext(PuglView* view, bool drawing); PUGL_API PuglStatus puglSetEventFunc(PuglView* view, PuglEventFunc eventFunc); -/** - Return true iff `view` has the input focus. -*/ -PUGL_API bool -puglHasFocus(const PuglView* view); - /** Grab the input focus. */ PUGL_API PuglStatus puglGrabFocus(PuglView* view); +/** + Return true iff `view` has the input focus. +*/ +PUGL_API bool +puglHasFocus(const PuglView* view); + /** Get clipboard contents. -- cgit v1.2.1