grabs: Snap Window Edges to Close Output Edges
This commit is contained in:
parent
2678cf41b2
commit
2553810621
12 changed files with 148 additions and 13 deletions
|
|
@ -888,6 +888,7 @@ impl FloatingLayout {
|
|||
seat: &Seat<State>,
|
||||
start_data: GrabStartData,
|
||||
edges: ResizeEdge,
|
||||
edge_snap_threshold: u32,
|
||||
release: ReleaseMode,
|
||||
) -> Option<ResizeSurfaceGrab> {
|
||||
if seat.get_pointer().is_some() {
|
||||
|
|
@ -900,6 +901,7 @@ impl FloatingLayout {
|
|||
mapped.clone(),
|
||||
edges,
|
||||
self.space.outputs().next().cloned().unwrap(),
|
||||
edge_snap_threshold,
|
||||
location,
|
||||
size,
|
||||
seat,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue