[wiki] [sites] [dwm][patch] ru_gaps fix overflow bug || Aaron Duxler

From: <git_AT_suckless.org>
Date: Tue, 12 May 2020 00:26:22 +0200

commit 89401d3ea9e8356ab66f667ebbba36a1961130db
Author: Aaron Duxler <aaron_AT_duxler.xyz>
Date: Tue May 12 00:26:18 2020 +0200

    [dwm][patch] ru_gaps fix overflow bug

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
index beaff6d1..61f25f5f 100644
--- 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
_AT_@ -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 */
_AT_@ -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];
Received on Tue May 12 2020 - 00:26:22 CEST

This archive was generated by hypermail 2.3.0 : Tue May 12 2020 - 00:36:46 CEST