From 2f6abfda595ed4d6ba855f6bc2726d153c548125 Mon Sep 17 00:00:00 2001 From: Victor Berger Date: Sat, 3 Nov 2018 13:16:13 +0100 Subject: [PATCH] Don't call layer_surface.set_size on configure --- src/bar.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/bar.cpp b/src/bar.cpp index 4793e118..961a3215 100644 --- a/src/bar.cpp +++ b/src/bar.cpp @@ -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); } }