From e9d8f093021dc416a5c790e2161d047426db2592 Mon Sep 17 00:00:00 2001 From: tslil clingman Date: Sun, 12 Feb 2023 11:42:31 +0100 Subject: [dwl, somebar] add gaps also allow dwl to match on empty titles --- somebar/src/bar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'somebar/src/bar.cpp') diff --git a/somebar/src/bar.cpp b/somebar/src/bar.cpp index 3866dbb..38164cd 100644 --- a/somebar/src/bar.cpp +++ b/somebar/src/bar.cpp @@ -120,7 +120,7 @@ void Bar::show(wl_output* output) auto barSize = barfont.height + paddingY * 2; zwlr_layer_surface_v1_set_size(_layerSurface.get(), 0, barSize); - zwlr_layer_surface_v1_set_exclusive_zone(_layerSurface.get(), barSize); + zwlr_layer_surface_v1_set_exclusive_zone(_layerSurface.get(), barSize + gapY); wl_surface_commit(_surface.get()); } -- cgit v1.2.3