aboutsummaryrefslogtreecommitdiffstats
path: root/components/shared/script/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/shared/script/lib.rs')
-rw-r--r--components/shared/script/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/shared/script/lib.rs b/components/shared/script/lib.rs
index 5ee143b3cdd..8b05cabd64e 100644
--- a/components/shared/script/lib.rs
+++ b/components/shared/script/lib.rs
@@ -256,7 +256,7 @@ pub enum DocumentState {
}
/// Input events from the embedder that are sent via the `Constellation`` to the `ScriptThread`.
-#[derive(Debug, Deserialize, Serialize)]
+#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct ConstellationInputEvent {
/// The hit test result of this input event, if any.
pub hit_test_result: Option<CompositorHitTestResult>,