client: add "--window-size-pixels" and "--window-size-chars" options

This commit is contained in:
Craig Barnes 2020-11-22 00:12:23 +00:00
parent 10eda1faa5
commit 748f98e0c0
3 changed files with 56 additions and 13 deletions

View file

@ -10,6 +10,9 @@ struct client_argv {
};
struct client_data {
unsigned width;
unsigned height;
uint8_t size_type:1; // Values correspond to enum conf_size_type
uint8_t maximized:1;
uint8_t fullscreen:1;
uint8_t hold:1;