floating: New window spawn positions
This commit is contained in:
parent
495d772a38
commit
d09abc4728
3 changed files with 172 additions and 18 deletions
|
|
@ -42,6 +42,7 @@ use smithay::{
|
|||
use std::{
|
||||
cell::RefCell,
|
||||
collections::HashSet,
|
||||
sync::atomic::Ordering,
|
||||
time::{Duration, Instant},
|
||||
};
|
||||
|
||||
|
|
@ -442,6 +443,7 @@ impl MoveGrab {
|
|||
let mut outputs = HashSet::new();
|
||||
outputs.insert(output.clone());
|
||||
window.output_enter(&output, window.geometry()); // not accurate but...
|
||||
window.moved_since_mapped.store(true, Ordering::SeqCst);
|
||||
|
||||
let grab_state = MoveGrabState {
|
||||
window: window.clone(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue