summaryrefslogtreecommitdiff
path: root/src/sxwm.c
diff options
context:
space:
mode:
authoruint23 <[email protected]>2025-04-25 23:08:02 +0100
committeruint23 <[email protected]>2025-04-25 23:08:02 +0100
commitfd7b18b3c20bc4e2685cd0d6ac14d4b87ba89cf2 (patch)
tree9ff4e9a8c11c4302be94232a89664bb4085dfc67 /src/sxwm.c
parentc82d8ac61dbd323ee3ac5eb6e730c691927a14cc (diff)
starting to add custom config
added config struct added sxrc config file ~ master_width is now an int
Diffstat (limited to 'src/sxwm.c')
-rw-r--r--src/sxwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sxwm.c b/src/sxwm.c
index 27dafba..983326c 100644
--- a/src/sxwm.c
+++ b/src/sxwm.c
@@ -110,7 +110,7 @@ ulong last_motion_time = 0;
ulong border_foc_col;
ulong border_ufoc_col;
ulong border_swap_col;
-float master_frac = MASTER_WIDTH;
+float master_frac = (float) MASTER_WIDTH / 100;
uint gaps = GAPS;
uint scr_width;
uint scr_height;