diff options
Diffstat (limited to 'src/common/app.c')
| -rw-r--r-- | src/common/app.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/app.c b/src/common/app.c index 15c2a3f..3890a1d 100644 --- a/src/common/app.c +++ b/src/common/app.c @@ -417,6 +417,13 @@ static void app_runner_dispatch_input_events(struct app_runner *ar) if (ar->desc->event(ar->desc->userdata, &ev) == YASL_APP_QUIT) ar->running = false; break; + case YASL_INPUT_PASTE: + ev.type = YASL_EVENT_PASTE; + ev.paste.text = ie.paste.text; + ev.paste.len = ie.paste.len; + if (ar->desc->event(ar->desc->userdata, &ev) == YASL_APP_QUIT) + ar->running = false; + break; case YASL_INPUT_DROP_FILES: ev.type = YASL_EVENT_DROP_FILES; ev.drop_files.files = ie.drop_files.files; |
