aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/compositor_thread.rs
diff options
context:
space:
mode:
authorIgor Gutorov <igootorov@gmail.com>2018-01-15 16:21:44 +0200
committerIgor Gutorov <igootorov@gmail.com>2018-01-20 19:06:29 +0200
commit4ee9eb8563fc5842f7139bcd60a36468e4222fc0 (patch)
tree245aacd9fd013d16311ef6bb575ada4f02fd73fb /components/compositing/compositor_thread.rs
parent671b69c0b77f9a4bd0c098cb2a2f73c95dacb954 (diff)
downloadservo-4ee9eb8563fc5842f7139bcd60a36468e4222fc0.tar.gz
servo-4ee9eb8563fc5842f7139bcd60a36468e4222fc0.zip
style: Move cursor property out of mako
Diffstat (limited to 'components/compositing/compositor_thread.rs')
-rw-r--r--components/compositing/compositor_thread.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/compositing/compositor_thread.rs b/components/compositing/compositor_thread.rs
index 31ac2f32783..2e3d69f8057 100644
--- a/components/compositing/compositor_thread.rs
+++ b/components/compositing/compositor_thread.rs
@@ -17,7 +17,7 @@ use script_traits::{AnimationState, ConstellationMsg, EventResult, LoadData};
use servo_url::ServoUrl;
use std::fmt::{Debug, Error, Formatter};
use std::sync::mpsc::{Receiver, Sender};
-use style_traits::cursor::Cursor;
+use style_traits::cursor::CursorKind;
use style_traits::viewport::ViewportConstraints;
use webrender;
use webrender_api;
@@ -133,7 +133,7 @@ pub enum EmbedderMsg {
/// Sends an unconsumed key event back to the embedder.
KeyEvent(Option<TopLevelBrowsingContextId>, Option<char>, Key, KeyState, KeyModifiers),
/// Changes the cursor.
- SetCursor(Cursor),
+ SetCursor(CursorKind),
/// A favicon was detected
NewFavicon(TopLevelBrowsingContextId, ServoUrl),
/// <head> tag finished parsing