commit 89401d3ea9e8356ab66f667ebbba36a1961130db
parent 2c9a1ed3f7deb970a348cd2c54b64ae3815c5fea
Author: Aaron Duxler <aaron@duxler.xyz>
Date: Tue, 12 May 2020 00:26:18 +0200
[dwm][patch] ru_gaps fix overflow bug
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dwm.suckless.org/patches/ru_gaps/dwm-ru_gaps-6.2.diff b/dwm.suckless.org/patches/ru_gaps/dwm-ru_gaps-6.2.diff
@@ -5,7 +5,7 @@ diff -up a/config.def.h b/config.def.h
/* appearance */
static const unsigned int borderpx = 1; /* border pixel of windows */
-+static const unsigned int gappx = 5; /* gaps between windows */
++static const int gappx = 5; /* gaps between windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
@@ -26,7 +26,7 @@ diff -up a/dwm.c b/dwm.c
int by; /* bar geometry */
int mx, my, mw, mh; /* screen size */
int wx, wy, ww, wh; /* window area */
-+ unsigned int gappx; /* gaps between windows */
++ int gappx; /* gaps between windows */
unsigned int seltags;
unsigned int sellt;
unsigned int tagset[2];