Don't call layer_surface.set_size on configure
This commit is contained in:
parent
5ece0d98ee
commit
2f6abfda59
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue