mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 13:22:15 +00:00
wayland-surface: Fix offset with window dragging
The grab_x / grab_y here were converted from fixed integers to floats, but we forgot to update one place in the code that used them as fixed integers.
This commit is contained in:
parent
97a69cee5a
commit
29439f8de2
@ -732,8 +732,8 @@ begin_grab_op_on_surface (MetaWaylandSurface *surface,
|
||||
1, /* button. XXX? */
|
||||
0, /* modmask */
|
||||
meta_display_get_current_time_roundtrip (window->display),
|
||||
wl_fixed_to_int (seat->pointer.grab_x),
|
||||
wl_fixed_to_int (seat->pointer.grab_y));
|
||||
seat->pointer.grab_x,
|
||||
seat->pointer.grab_y);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user