Merge pull request #79 from vberger/master

Don't call layer_surface.set_size on configure
This commit is contained in:
Alex 2018-11-03 13:36:04 +01:00 committed by GitHub
commit 26182c222b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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