diff options
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 0cf14937c4c..08ce5fa7540 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -1141,6 +1141,10 @@ impl ScriptThread { CompositorEvent::GamepadEvent(gamepad_event) => { window.as_global_scope().handle_gamepad_event(gamepad_event); }, + + CompositorEvent::ClipboardEvent(clipboard_action) => { + document.handle_clipboard_action(clipboard_action, can_gc); + }, } } ScriptThread::set_user_interacting(false); |