shell: Touch support for ResizeForkTarget/ResizeForkGrab

This seems to be working, though it's quite difficult to actually hit the
small target with touch.
This commit is contained in:
Ian Douglas Scott 2024-04-05 15:37:22 -07:00 committed by Victoria Brekenfeld
parent b18a3a8bc7
commit 1da3c7c41e
3 changed files with 173 additions and 33 deletions

View file

@ -2912,7 +2912,7 @@ impl Shell {
return;
};
ResizeForkGrab::new(
start_data,
GrabStartData::Pointer(start_data),
new_loc.to_f64(),
node,
left_up_idx,
@ -3141,7 +3141,7 @@ impl Shell {
return;
};
ResizeForkGrab::new(
start_data,
GrabStartData::Pointer(start_data),
seat.get_pointer().unwrap().current_location().as_global(),
node,
left_up_idx,