mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-01 22:58:44 -04:00
opt: remove useless scratchpad_width and scratachpad_height
This commit is contained in:
parent
5ba5154ec8
commit
a493db63c0
3 changed files with 25 additions and 31 deletions
|
|
@ -65,8 +65,6 @@ typedef struct {
|
|||
int isterm;
|
||||
int noswallow;
|
||||
int noblur;
|
||||
int scratchpad_width;
|
||||
int scratchpad_height;
|
||||
float focused_opacity;
|
||||
float unfocused_opacity;
|
||||
uint32_t passmod;
|
||||
|
|
@ -1463,8 +1461,6 @@ void parse_config_line(Config *config, const char *line) {
|
|||
rule->nofadein = -1;
|
||||
rule->nofadeout = -1;
|
||||
rule->no_force_center = -1;
|
||||
rule->scratchpad_width = 0;
|
||||
rule->scratchpad_height = 0;
|
||||
rule->focused_opacity = 0;
|
||||
rule->unfocused_opacity = 0;
|
||||
rule->width = 0;
|
||||
|
|
@ -1512,10 +1508,6 @@ void parse_config_line(Config *config, const char *line) {
|
|||
rule->nofadeout = atoi(val);
|
||||
} else if (strcmp(key, "no_force_center") == 0) {
|
||||
rule->no_force_center = atoi(val);
|
||||
} else if (strcmp(key, "scratchpad_width") == 0) {
|
||||
rule->scratchpad_width = atoi(val);
|
||||
} else if (strcmp(key, "scratchpad_height") == 0) {
|
||||
rule->scratchpad_height = atoi(val);
|
||||
} else if (strcmp(key, "width") == 0) {
|
||||
rule->width = atoi(val);
|
||||
} else if (strcmp(key, "height") == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue