summaryrefslogtreecommitdiff
path: root/client/common/common.h
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2019-05-31 20:32:02 +0000
committerAlyssa Ross <hi@alyssa.is>2019-05-31 23:20:54 +0000
commit93cde4831bca7055c38a1d6246fdcb84df07f7ec (patch)
tree15bc616a6da2139483d76ebe384d00a636b16441 /client/common/common.h
parent121367b9406b58c80591a21be3bd6e4771facb5e (diff)
downloadbemenu-93cde4831bca7055c38a1d6246fdcb84df07f7ec.tar.gz
bemenu-93cde4831bca7055c38a1d6246fdcb84df07f7ec.tar.bz2
bemenu-93cde4831bca7055c38a1d6246fdcb84df07f7ec.zip
bemenu: add --line-height / -H option
Text is displayed vertically centered in a line. If unspecified, or 0, the previous behaviour of making the height the size of the text, plus two pixels on either side, is used, so there will be no change in behaviour if this option is not used. Fixes https://github.com/Cloudef/bemenu/issues/44.
Diffstat (limited to 'client/common/common.h')
-rw-r--r--client/common/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/common/common.h b/client/common/common.h
index cf258af..ea034b9 100644
--- a/client/common/common.h
+++ b/client/common/common.h
@@ -10,6 +10,7 @@ struct client {
const char *title;
const char *prefix;
const char *font;
+ uint32_t line_height;
uint32_t lines;
uint32_t selected;
uint32_t monitor;