diff options
Diffstat (limited to 'client/common')
-rw-r--r-- | client/common/common.c | 6 | ||||
-rw-r--r-- | client/common/common.h | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/client/common/common.c b/client/common/common.c index ef25280..e8ad262 100644 --- a/client/common/common.c +++ b/client/common/common.c @@ -156,7 +156,7 @@ parse_args(struct client *client, int *argc, char **argv[]) client->filter_mode = BM_FILTER_MODE_DMENU_CASE_INSENSITIVE; break; case 'w': - client->wrap = 1; + client->wrap = true; break; case 'l': client->lines = strtol(optarg, NULL, 10); @@ -172,10 +172,10 @@ parse_args(struct client *client, int *argc, char **argv[]) break; case 'b': - client->bottom = 1; + client->bottom = true; break; case 'f': - client->grab = 1; + client->grab = true; break; case 'm': client->monitor = strtol(optarg, NULL, 10); diff --git a/client/common/common.h b/client/common/common.h index fa2025c..fab8758 100644 --- a/client/common/common.h +++ b/client/common/common.h @@ -5,16 +5,16 @@ struct client { enum bm_filter_mode filter_mode; - int32_t wrap; - uint32_t lines; const char *colors[BM_COLOR_LAST]; const char *title; const char *prefix; const char *font; - int32_t selected; - int32_t bottom; - int32_t grab; - int32_t monitor; + uint32_t lines; + uint32_t selected; + uint32_t monitor; + bool bottom; + bool grab; + bool wrap; }; void parse_args(struct client *client, int *argc, char **argv[]); |