Don't call layer_surface.set_size on configure

This commit is contained in:
Victor Berger 2018-11-03 13:16:13 +01:00
parent 5ece0d98ee
commit 2f6abfda59

View File

@ -119,8 +119,6 @@ height: {} required by the modules", o->height_, min_height) << std::endl;
"Bar configured (width: {}, height: {}) for output: {}",
o->width_, o->height_, o->output_name) << std::endl;
zwlr_layer_surface_v1_set_exclusive_zone(surface, o->height_);
zwlr_layer_surface_v1_set_size(surface, o->width_, o->height_);
wl_surface_commit(o->surface);
}
}