aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-06 21:52:45 +0100
committerDavid Robillard <d@drobilla.net>2020-03-06 21:52:45 +0100
commit4d6caa68288a2c172736eda1300d728d7d1a7e16 (patch)
tree54dc76be4c47058682382d8dd8fed6bd430eaa8d /pugl/pugl.h
parent3ab931da05ef91f752c15f11ca3b6637b1637078 (diff)
downloadpugl-4d6caa68288a2c172736eda1300d728d7d1a7e16.tar.gz
pugl-4d6caa68288a2c172736eda1300d728d7d1a7e16.tar.bz2
pugl-4d6caa68288a2c172736eda1300d728d7d1a7e16.zip
Move puglHasFocus() after puglGrabFocus() for consistency
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 04add26..9a1b999 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -789,18 +789,18 @@ 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.
@param view The view.