mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Merge pull request #79 from vberger/master
Don't call layer_surface.set_size on configure
This commit is contained in:
commit
26182c222b
@ -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
Block a user