fmt commit
This commit is contained in:
parent
352c526e9e
commit
9e0a6e1b5f
25 changed files with 787 additions and 499 deletions
|
|
@ -181,7 +181,9 @@ impl XdgShellHandler for State {
|
|||
.unwrap()
|
||||
.clone();
|
||||
|
||||
self.common.shell.move_request(&window, &seat, serial, start_data);
|
||||
self.common
|
||||
.shell
|
||||
.move_request(&window, &seat, serial, start_data);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,12 @@ fn unconstrain_xdg_popup(
|
|||
if let Some(output_rect) = space
|
||||
.outputs_for_window(window)
|
||||
.into_iter()
|
||||
.find(|o| space.output_geometry(o).map(|rect| rect.contains(anchor_point)).unwrap_or(false))
|
||||
.find(|o| {
|
||||
space
|
||||
.output_geometry(o)
|
||||
.map(|rect| rect.contains(anchor_point))
|
||||
.unwrap_or(false)
|
||||
})
|
||||
.map(|o| space.output_geometry(&o).unwrap())
|
||||
{
|
||||
// the output_rect represented relative to the parents coordinate system
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue