mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement mouseevent.which (needed for enyojs sampler).
This commit is contained in:
parent
2a2c7e18c0
commit
2e074ce452
3 changed files with 18 additions and 1 deletions
|
@ -45,7 +45,7 @@ use euclid::rect::Rect;
|
|||
/// The address of a node. Layout sends these back. They must be validated via
|
||||
/// `from_untrusted_node_address` before they can be used, because we do not trust layout.
|
||||
#[allow(raw_pointer_derive)]
|
||||
#[derive(Copy, Clone)]
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub struct UntrustedNodeAddress(pub *const c_void);
|
||||
unsafe impl Send for UntrustedNodeAddress {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue