aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-06 21:52:46 +0100
committerDavid Robillard <d@drobilla.net>2020-03-06 21:52:46 +0100
commit453acd4ae8b9d352b48b025aadbcc629c87e2e87 (patch)
tree83c22ba87d99fdf272f397aac58c4a35b2756355 /pugl
parent4d6caa68288a2c172736eda1300d728d7d1a7e16 (diff)
downloadpugl-453acd4ae8b9d352b48b025aadbcc629c87e2e87.tar.gz
pugl-453acd4ae8b9d352b48b025aadbcc629c87e2e87.tar.bz2
pugl-453acd4ae8b9d352b48b025aadbcc629c87e2e87.zip
Move puglGetClipboard() after puglGetClipboard() for consistency
Diffstat (limited to 'pugl')
-rw-r--r--pugl/pugl.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 9a1b999..e0ea5d6 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -801,17 +801,6 @@ PUGL_API bool
puglHasFocus(const PuglView* view);
/**
- Get clipboard contents.
-
- @param view The view.
- @param[out] type Set to the MIME type of the data.
- @param[out] len Set to the length of the data in bytes.
- @return The clipboard contents.
-*/
-PUGL_API const void*
-puglGetClipboard(PuglView* view, const char** type, size_t* len);
-
-/**
Set clipboard contents.
@param view The view.
@@ -826,6 +815,17 @@ puglSetClipboard(PuglView* view,
size_t len);
/**
+ Get clipboard contents.
+
+ @param view The view.
+ @param[out] type Set to the MIME type of the data.
+ @param[out] len Set to the length of the data in bytes.
+ @return The clipboard contents.
+*/
+PUGL_API const void*
+puglGetClipboard(PuglView* view, const char** type, size_t* len);
+
+/**
Request user attention.
This hints to the system that the window or application requires attention