barpadding

This commit is contained in:
speedie 2023-01-23 20:00:24 +01:00
parent 872647fa3b
commit 381c8507b1
3 changed files with 32 additions and 0 deletions

View file

@ -19,5 +19,9 @@ static Query queries[] = {
{ "get_mastercount", get_mastercount },
{ "get_resizehints", get_resizehints },
{ "get_lockfullscreen", get_lockfullscreen },
{ "get_barpadding_ov", get_barpadding_ov },
{ "get_barpadding_oh", get_barpadding_oh },
{ "get_barpadding_iv", get_barpadding_iv },
{ "get_barpadding_ih", get_barpadding_ih },
};

View file

@ -163,3 +163,27 @@ get_used_tags()
if (ps) return 0; else return 1;
}
int
get_barpadding_ov() {
int ps = fprintf(stdout, "%d\n", barpaddingov);
if (ps) return 0; else return 1;
}
int
get_barpadding_oh() {
int ps = fprintf(stdout, "%d\n", barpaddingoh);
if (ps) return 0; else return 1;
}
int
get_barpadding_iv() {
int ps = fprintf(stdout, "%d\n", barpaddingiv);
if (ps) return 0; else return 1;
}
int
get_barpadding_ih() {
int ps = fprintf(stdout, "%d\n", barpaddingih);
if (ps) return 0; else return 1;
}

View file

@ -16,3 +16,7 @@ static int get_mfact();
static int get_mastercount();
static int get_resizehints();
static int get_lockfullscreen();
static int get_barpadding_ov();
static int get_barpadding_oh();
static int get_barpadding_iv();
static int get_barpadding_ih();