From a3b1fac5035c2a408ad53a54532d1f81f0298cd4 Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Wed, 25 Mar 2015 12:53:10 +1000 Subject: [PATCH] Fixes #4964 and #4965. --- components/servo/Cargo.lock | 2 +- ports/cef/Cargo.lock | 3 ++- ports/glutin/window.rs | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/components/servo/Cargo.lock b/components/servo/Cargo.lock index 750871127ad..9d422fb0dc1 100644 --- a/components/servo/Cargo.lock +++ b/components/servo/Cargo.lock @@ -353,7 +353,7 @@ dependencies = [ [[package]] name = "glutin" version = "0.0.7" -source = "git+https://github.com/servo/glutin?branch=servo#8138fe5755aa1b23fee704994d52597109f1abe0" +source = "git+https://github.com/servo/glutin?branch=servo#0feab4842c5b229bfe88739d2c526d03c198fd33" dependencies = [ "android_glue 0.0.1 (git+https://github.com/tomaka/android-rs-glue)", "cocoa 0.1.1 (git+https://github.com/servo/rust-cocoa)", diff --git a/ports/cef/Cargo.lock b/ports/cef/Cargo.lock index c7152667053..a9b48efe02f 100644 --- a/ports/cef/Cargo.lock +++ b/ports/cef/Cargo.lock @@ -358,7 +358,7 @@ dependencies = [ [[package]] name = "glutin" version = "0.0.7" -source = "git+https://github.com/servo/glutin?branch=servo#8138fe5755aa1b23fee704994d52597109f1abe0" +source = "git+https://github.com/servo/glutin?branch=servo#0feab4842c5b229bfe88739d2c526d03c198fd33" dependencies = [ "android_glue 0.0.1 (git+https://github.com/tomaka/android-rs-glue)", "cocoa 0.1.1 (git+https://github.com/servo/rust-cocoa)", @@ -923,6 +923,7 @@ dependencies = [ name = "util" version = "0.0.1" dependencies = [ + "azure 0.1.0 (git+https://github.com/servo/rust-azure)", "bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.2.0 (git+https://github.com/servo/rust-cssparser)", "geom 0.1.0 (git+https://github.com/servo/rust-geom)", diff --git a/ports/glutin/window.rs b/ports/glutin/window.rs index dc15454ba26..70af85346d3 100644 --- a/ports/glutin/window.rs +++ b/ports/glutin/window.rs @@ -194,6 +194,9 @@ impl Window { self.scroll_window(dx, dy); } }, + Event::Refresh | Event::Awakened => { + self.event_queue.borrow_mut().push(WindowEvent::Refresh); + } _ => {} }