mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix mouse button handling
This commit is contained in:
parent
7df1849e89
commit
e15bc7516c
3 changed files with 16 additions and 6 deletions
|
@ -896,7 +896,7 @@ impl<Window: WindowMethods + ?Sized> IOCompositor<Window> {
|
|||
result.point_in_viewport.to_untyped(),
|
||||
Some(UntrustedNodeAddress(result.tag.0 as *const c_void)),
|
||||
Some(result.point_relative_to_item.to_untyped()),
|
||||
MouseButton::Left as u16,
|
||||
button as u16,
|
||||
);
|
||||
|
||||
let pipeline_id = PipelineId::from_webrender(result.pipeline);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue