diff options
Diffstat (limited to 'components/servo/lib.rs')
-rw-r--r-- | components/servo/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/components/servo/lib.rs b/components/servo/lib.rs index 2e3b7c8082b..5545d291afc 100644 --- a/components/servo/lib.rs +++ b/components/servo/lib.rs @@ -401,6 +401,13 @@ where self.compositor.maybe_start_shutting_down(); }, + WindowEvent::ExitFullScreen(top_level_browsing_context_id) => { + let msg = ConstellationMsg::ExitFullScreen(top_level_browsing_context_id); + if let Err(e) = self.constellation_chan.send(msg) { + warn!("Sending exit fullscreen to constellation failed ({:?}).", e); + } + }, + WindowEvent::Reload(top_level_browsing_context_id) => { let msg = ConstellationMsg::Reload(top_level_browsing_context_id); if let Err(e) = self.constellation_chan.send(msg) { |