diff options
author | Igor Gutorov <igootorov@gmail.com> | 2018-01-15 16:21:44 +0200 |
---|---|---|
committer | Igor Gutorov <igootorov@gmail.com> | 2018-01-20 19:06:29 +0200 |
commit | 4ee9eb8563fc5842f7139bcd60a36468e4222fc0 (patch) | |
tree | 245aacd9fd013d16311ef6bb575ada4f02fd73fb /components/compositing/compositor_thread.rs | |
parent | 671b69c0b77f9a4bd0c098cb2a2f73c95dacb954 (diff) | |
download | servo-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.rs | 4 |
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 |