[wiki] [sites] dwm bottommargin patch: remove || FRIGN

From: <git_AT_suckless.org>
Date: Tue, 19 Jul 2016 10:34:27 +0200

commit f7511a002f6cf99b37c89a8059ded8c38692e171
Author: FRIGN <dev_AT_frign.de>
Date: Tue Jul 19 10:34:04 2016 +0200

    dwm bottommargin patch: remove
    
    I don't really see the purpose. If you re-add it, give an example
    where it could be useful.

diff --git a/dwm.suckless.org/patches/bottommargin.md b/dwm.suckless.org/patches/bottommargin.md
deleted file mode 100644
index c805b97..0000000
--- a/dwm.suckless.org/patches/bottommargin.md
+++ /dev/null
_AT_@ -1,13 +0,0 @@
-# bottommargin
-
-## Description
-
-Adds a variable margin at the bottom for status or notification bars
-
-## Download
-
- * [dwm-bottommargin-6.0.diff](dwm-bottommargin-6.0.diff) dwm-bottommargin-6.0.diff (07.06.2014)
-
-## Author
-
- * Julian A.
diff --git a/dwm.suckless.org/patches/dwm-bottommargin-6.0.diff b/dwm.suckless.org/patches/dwm-bottommargin-6.0.diff
deleted file mode 100644
index 99ee0b0..0000000
--- a/dwm.suckless.org/patches/dwm-bottommargin-6.0.diff
+++ /dev/null
_AT_@ -1,26 +0,0 @@
-diff --git a/config.def.h b/config.def.h
-index 77ff358..203d354 100644
---- a/config.def.h
-+++ b/config.def.h
-_AT_@ -12,6 +12,7 @@ static const unsigned int borderpx = 1; /* border pixel of windows */
- static const unsigned int snap = 32; /* snap pixel */
- static const Bool showbar = True; /* False means no bar */
- static const Bool topbar = True; /* False means bottom bar */
-+static const unsigned int bottommargin = 20; /* Margin at the bottom for another bar */
-
- /* tagging */
- static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
-diff --git a/dwm.c b/dwm.c
-index 1d78655..cece290 100644
---- a/dwm.c
-+++ b/dwm.c
-_AT_@ -1841,6 +1841,9 @@ updatebarpos(Monitor *m) {
- m->wh = m->mh;
- if(m->showbar) {
- m->wh -= bh;
-+ m->wh -= marginbottom;
-+ if(!m->topbar)
-+ m->wy += marginbottom;
- m->by = m->topbar ? m->wy : m->wy + m->wh;
- m->wy = m->topbar ? m->wy + bh : m->wy;
- }
Received on Tue Jul 19 2016 - 10:34:27 CEST

This archive was generated by hypermail 2.3.0 : Tue Jul 19 2016 - 10:36:16 CEST