@@ -933,6 +933,7 @@ impl Dispatch<wl_pointer::WlPointer, ()> for WaylandClientState {
|
||||
position: state.mouse_location,
|
||||
modifiers: state.modifiers,
|
||||
click_count: state.click_state.current_count,
|
||||
first_mouse: false,
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -218,6 +218,7 @@ impl X11Client {
|
||||
position,
|
||||
modifiers,
|
||||
click_count: 1,
|
||||
first_mouse: false,
|
||||
}));
|
||||
} else if event.detail >= 4 && event.detail <= 5 {
|
||||
// https://stackoverflow.com/questions/15510472/scrollwheel-event-in-x11
|
||||
|
||||
Reference in New Issue
Block a user