Merge pull request #158 from YaLTeR/fix-wl-shell-initial-size
anvil.shell: don't send first configure to WlShell
This commit is contained in:
commit
517070d079
|
@ -218,7 +218,6 @@ pub fn init_shell(
|
||||||
let mut rng = rand::thread_rng();
|
let mut rng = rand::thread_rng();
|
||||||
let x = range.sample(&mut rng);
|
let x = range.sample(&mut rng);
|
||||||
let y = range.sample(&mut rng);
|
let y = range.sample(&mut rng);
|
||||||
surface.send_configure((0, 0), wl_shell_surface::Resize::None);
|
|
||||||
shell_window_map
|
shell_window_map
|
||||||
.borrow_mut()
|
.borrow_mut()
|
||||||
.insert(SurfaceKind::Wl(surface), (x, y));
|
.insert(SurfaceKind::Wl(surface), (x, y));
|
||||||
|
|
Loading…
Reference in New Issue