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:
Victor Berger 2020-02-09 17:07:49 +01:00 committed by GitHub
commit 517070d079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -218,7 +218,6 @@ pub fn init_shell(
let mut rng = rand::thread_rng();
let x = range.sample(&mut rng);
let y = range.sample(&mut rng);
surface.send_configure((0, 0), wl_shell_surface::Resize::None);
shell_window_map
.borrow_mut()
.insert(SurfaceKind::Wl(surface), (x, y));