[wiki] [sites] Remove version which lacks clear target || Britton Leo Kerin

From: <git_AT_suckless.org>
Date: Sat, 16 Jul 2016 01:05:52 +0200

commit 0c23633321eed606fec6d8fc367c8d883f258ae5
Author: Britton Leo Kerin <britton.kerin_AT_gmail.com>
Date: Fri Jul 15 15:05:26 2016 -0800

    Remove version which lacks clear target

diff --git a/dwm.suckless.org/patches/dwm-10e232f9ace7-float_border_color2.diff b/dwm.suckless.org/patches/dwm-10e232f9ace7-float_border_color2.diff
deleted file mode 100644
index 134b963..0000000
--- a/dwm.suckless.org/patches/dwm-10e232f9ace7-float_border_color2.diff
+++ /dev/null
_AT_@ -1,84 +0,0 @@
-URL: http://dwm.suckless.org/patches/historical/float_border_color
-float_border_color2 allows you to specify a different border color for floating
-windows.
-
-diff -r 10e232f9ace7 config.def.h
---- a/config.def.h Sun Mar 25 17:49:35 2012 +0200
-+++ b/config.def.h Fri Apr 06 08:16:29 2012 +0200
-_AT_@ -8,6 +8,8 @@
- static const char selbordercolor[] = "#005577";
- static const char selbgcolor[] = "#005577";
- static const char selfgcolor[] = "#eeeeee";
-+static const char floatnormbordercolor[] = "#005577";
-+static const char floatselbordercolor[] = "#005577";
- 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 */
-diff -r 10e232f9ace7 dwm.c
---- a/dwm.c Sun Mar 25 17:49:35 2012 +0200
-+++ b/dwm.c Fri Apr 06 08:16:29 2012 +0200
-_AT_@ -57,7 +57,7 @@
-
- /* enums */
- enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */
--enum { ColBorder, ColFG, ColBG, ColLast }; /* color */
-+enum { ColBorder, ColFG, ColBG, ColBorderFloat, ColLast }; /* color */
- enum { NetSupported, NetWMName, NetWMState,
- NetWMFullscreen, NetActiveWindow, NetWMWindowType,
- NetWMWindowTypeDialog, NetClientList, NetLast }; /* EWMH atoms */
-_AT_@ -857,7 +857,10 @@
- detachstack(c);
- attachstack(c);
- grabbuttons(c, True);
-- XSetWindowBorder(dpy, c->win, dc.sel[ColBorder]);
-+ if(c->isfloating)
-+ XSetWindowBorder(dpy, c->win, dc.sel[ColBorderFloat]);
-+ else
-+ XSetWindowBorder(dpy, c->win, dc.sel[ColBorder]);
- setfocus(c);
- }
- else {
-_AT_@ -1159,6 +1162,8 @@
- c->isfloating = c->oldstate = trans != None || c->isfixed;
- if(c->isfloating)
- XRaiseWindow(dpy, c->win);
-+ if(c->isfloating)
-+ XSetWindowBorder(dpy, w, dc.norm[ColBorderFloat]);
- attach(c);
- attachstack(c);
- XChangeProperty(dpy, root, netatom[NetClientList], XA_WINDOW, 32, PropModeAppend,
-_AT_@ -1633,9 +1638,11 @@
- dc.norm[ColBorder] = getcolor(normbordercolor);
- dc.norm[ColBG] = getcolor(normbgcolor);
- dc.norm[ColFG] = getcolor(normfgcolor);
-+ dc.norm[ColBorderFloat] = getcolor(floatnormbordercolor);
- dc.sel[ColBorder] = getcolor(selbordercolor);
- dc.sel[ColBG] = getcolor(selbgcolor);
- dc.sel[ColFG] = getcolor(selfgcolor);
-+ dc.sel[ColBorderFloat] = getcolor(floatselbordercolor);
- dc.drawable = XCreatePixmap(dpy, root, DisplayWidth(dpy, screen), bh, DefaultDepth(dpy, screen));
- dc.gc = XCreateGC(dpy, root, 0, NULL);
- XSetLineAttributes(dpy, dc.gc, 1, LineSolid, CapButt, JoinMiter);
-_AT_@ -1760,6 +1767,10 @@
- return;
- selmon->sel->isfloating = !selmon->sel->isfloating || selmon->sel->isfixed;
- if(selmon->sel->isfloating)
-+ XSetWindowBorder(dpy, selmon->sel->win, dc.sel[ColBorderFloat]);
-+ else
-+ XSetWindowBorder(dpy, selmon->sel->win, dc.sel[ColBorder]);
-+ if(selmon->sel->isfloating)
- resize(selmon->sel, selmon->sel->x, selmon->sel->y,
- selmon->sel->w, selmon->sel->h, False);
- else if(selmon->sel->isfullscreen)
-_AT_@ -1797,7 +1808,10 @@
- if(!c)
- return;
- grabbuttons(c, False);
-- XSetWindowBorder(dpy, c->win, dc.norm[ColBorder]);
-+ if(c->isfloating)
-+ XSetWindowBorder(dpy, c->win, dc.norm[ColBorderFloat]);
-+ else
-+ XSetWindowBorder(dpy, c->win, dc.norm[ColBorder]);
- if(setfocus) {
- XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
- XDeleteProperty(dpy, root, netatom[NetActiveWindow]);
diff --git a/dwm.suckless.org/patches/float_border_color.md b/dwm.suckless.org/patches/float_border_color.md
index 3f211b5..5b880b6 100644
--- a/dwm.suckless.org/patches/float_border_color.md
+++ b/dwm.suckless.org/patches/float_border_color.md
_AT_@ -8,7 +8,6 @@ Patches against different versions of dwm are available at
 [dwm-clean-patches](https://github.com/jceb/dwm-clean-patches).
 
  * [dwm-6.1-float_border_color2.diff](dwm-6.1-float_border_color2.diff) (Unclean patch)
- * [dwm-10e232f9ace7-float_border_color2.diff](dwm-10e232f9ace7-float_border_color2.diff) (3432b) (20120406)
  * [dwm-6.0-float_border_color2.diff](dwm-6.0-float_border_color2.diff) (3356b) (20120406)
 
 ## Author ##
Received on Sat Jul 16 2016 - 01:05:52 CEST

This archive was generated by hypermail 2.3.0 : Sat Jul 16 2016 - 01:12:16 CEST