diff options
author | Cameron Cawley | 2019-09-20 00:33:32 +0100 |
---|---|---|
committer | Filippos Karapetis | 2019-09-21 22:16:01 +0300 |
commit | 7bf22fa99613c5815317583bd5e1ac1dff693046 (patch) | |
tree | 6ea008336279cbde0cf883f8ff58faf147be8c22 /backends | |
parent | ec4c846e8cde5ba578bd5385698efaf6d530a716 (diff) | |
download | scummvm-rg350-7bf22fa99613c5815317583bd5e1ac1dff693046.tar.gz scummvm-rg350-7bf22fa99613c5815317583bd5e1ac1dff693046.tar.bz2 scummvm-rg350-7bf22fa99613c5815317583bd5e1ac1dff693046.zip |
BACKENDS: Add EVENT_CLIPBOARD_UPDATE event
Diffstat (limited to 'backends')
-rw-r--r-- | backends/events/sdl/sdl-events.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/events/sdl/sdl-events.cpp b/backends/events/sdl/sdl-events.cpp index c3c316e334..1c661a4cef 100644 --- a/backends/events/sdl/sdl-events.cpp +++ b/backends/events/sdl/sdl-events.cpp @@ -650,6 +650,10 @@ bool SdlEventSource::dispatchSDLEvent(SDL_Event &ev, Common::Event &event) { event.path = Common::String(ev.drop.file); SDL_free(ev.drop.file); return true; + + case SDL_CLIPBOARDUPDATE: + event.type = Common::EVENT_CLIPBOARD_UPDATE; + return true; #else case SDL_VIDEOEXPOSE: if (_graphicsManager) |