diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/yasl/app.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/yasl/app.h b/include/yasl/app.h index 91de019..27523d5 100644 --- a/include/yasl/app.h +++ b/include/yasl/app.h @@ -67,6 +67,7 @@ typedef enum yasl_event_type { YASL_EVENT_WINDOW_FOCUS, /* System & external events */ + YASL_EVENT_PASTE, YASL_EVENT_DROP_FILES, YASL_EVENT_USER, } yasl_event_type; @@ -128,6 +129,11 @@ struct yasl_event { } focus; struct { + const char *text; /**< UTF-8 text from clipboard. */ + size_t len; + } paste; + + struct { const char *files; /**< NUL-terminated text/uri-list. */ size_t len; } drop_files; |
