From 7bf22fa99613c5815317583bd5e1ac1dff693046 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Fri, 20 Sep 2019 00:33:32 +0100 Subject: BACKENDS: Add EVENT_CLIPBOARD_UPDATE event --- backends/events/sdl/sdl-events.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backends') 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) -- cgit v1.2.3