xwayland: allow windows to scale themselves
This commit is contained in:
parent
cc8db84289
commit
19b07fa7dc
40 changed files with 800 additions and 80 deletions
|
|
@ -23,11 +23,12 @@ impl ZwpRelativePointerV1 {
|
|||
pub fn send_relative_motion(
|
||||
&self,
|
||||
time_usec: u64,
|
||||
dx: Fixed,
|
||||
dy: Fixed,
|
||||
mut dx: Fixed,
|
||||
mut dy: Fixed,
|
||||
dx_unaccelerated: Fixed,
|
||||
dy_unaccelerated: Fixed,
|
||||
) {
|
||||
logical_to_client_wire_scale!(self.client, dx, dy);
|
||||
self.client.event(RelativeMotion {
|
||||
self_id: self.id,
|
||||
utime_hi: (time_usec >> 32) as u32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue