summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorv44r <dv@v44r.com>2019-01-28 14:53:16 +0100
committerv44r <dv@v44r.com>2019-01-28 14:53:16 +0100
commit6e34c3a9235fe7564b3c18c9e01ecae5e84a56b7 (patch)
tree240a17daa92d9a7484d13a69a35f8206ce863202 /lib
parent83a32e9b4cb5d4cf15769f2a397bdb464b84000d (diff)
downloadbemenu-6e34c3a9235fe7564b3c18c9e01ecae5e84a56b7.tar.gz
bemenu-6e34c3a9235fe7564b3c18c9e01ecae5e84a56b7.tar.bz2
bemenu-6e34c3a9235fe7564b3c18c9e01ecae5e84a56b7.zip
Fix extra space below last item in vertical mode.
Diffstat (limited to 'lib')
-rw-r--r--lib/renderers/cairo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/renderers/cairo.h b/lib/renderers/cairo.h
index d0f2dca..4bea81c 100644
--- a/lib/renderers/cairo.h
+++ b/lib/renderers/cairo.h
@@ -246,7 +246,7 @@ bm_cairo_paint(struct cairo *cairo, uint32_t width, uint32_t height, uint32_t ma
}
posy += (spacing_y ? spacing_y : result.height);
- out_result->height = posy + 2;
+ out_result->height = posy;
out_result->displayed++;
}