[hackers] [wmii] Replaced wmii.svg with wmii.eps and wmii.mp (wmii and XML/Inkscape don't mesh).

From: Kris Maglione <jg_AT_suckless.org>
Date: Wed Feb 28 01:15:08 2007

changeset: 1973:c3a39d966fa5
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Tue Feb 27 19:12:57 2007 -0500
summary: Replaced wmii.svg with wmii.eps and wmii.mp (wmii and XML/Inkscape don't mesh).

diff -r 42edcdd19d7b -r c3a39d966fa5 client.c
--- a/client.c Tue Feb 27 15:34:05 2007 -0500
+++ b/client.c Tue Feb 27 19:12:57 2007 -0500
@@ -248,13 +248,36 @@ void
 void
 unmap_client(Client *c, int state) {
         if(c->mapped) {
+ c->unmapped++;
                 XSelectInput(blz.dpy, c->win, ClientMask & ~StructureNotifyMask);
                 XUnmapWindow(blz.dpy, c->win);
                 XSelectInput(blz.dpy, c->win, ClientMask);
- c->unmapped++;
                 set_client_state(c, state);
                 c->mapped = 0;
         }
+}
+
+void
+map_frame(Client *c) {
+ if(!c->frame_mapped) {
+ XMapWindow(blz.dpy, c->framewin);
+ c->frame_mapped = True;
+ }
+}
+
+void
+unmap_frame(Client *c) {
+ if(c->frame_mapped) {
+ XUnmapWindow(blz.dpy, c->framewin);
+ c->frame_mapped = False;
+ }
+}
+
+void
+reparent_client(Client *c, Window w, int x, int y) {
+ XSelectInput(blz.dpy, c->win, ClientMask & ~StructureNotifyMask);
+ XReparentWindow(blz.dpy, c->win, w, x, y);
+ XSelectInput(blz.dpy, c->win, ClientMask);
 }
 
 void
@@ -266,29 +289,6 @@ set_cursor(Client *c, Cursor cur) {
                 wa.cursor = cur;
                 XChangeWindowAttributes(blz.dpy, c->framewin, CWCursor, &wa);
         }
-}
-
-void
-map_frame(Client *c) {
- if(!c->frame_mapped) {
- XMapWindow(blz.dpy, c->framewin);
- c->frame_mapped = True;
- }
-}
-
-void
-unmap_frame(Client *c) {
- if(c->frame_mapped) {
- XUnmapWindow(blz.dpy, c->framewin);
- c->frame_mapped = False;
- }
-}
-
-void
-reparent_client(Client *c, Window w, int x, int y) {
- XSelectInput(blz.dpy, c->win, ClientMask & ~StructureNotifyMask);
- XReparentWindow(blz.dpy, c->win, w, x, y);
- XSelectInput(blz.dpy, c->win, ClientMask);
 }
 
 void
diff -r 42edcdd19d7b -r c3a39d966fa5 wmii.eps
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wmii.eps Tue Feb 27 19:12:57 2007 -0500
@@ -0,0 +1,39 @@
+%!PS-Adobe-2.0 EPSF-1.2
+%%Title: wmii.1
+%%Creator: MetaPost
+%%CreationDate: 2007.02.27:1846
+%%For:kris kris
+%%Pages: 1
+%%DocumentFonts:
+%%BoundingBox: 0 0 51 27
+%%EndComments
+
+%%BeginProlog
+save countdictstack mark newpath /showpage {} def /setpagedevice {pop} def
+%%EndProlog
+%%Page 1 1
+%!PS
+ 0 6.23616 dtransform truncate idtransform setlinewidth pop [] 0 setdash
+ 0 setlinecap 2 setlinejoin 10 setmiterlimit
+newpath 2.83461 17.00761 moveto
+2.83461 2.83461 lineto
+14.17302 2.83461 lineto
+14.17302 17.00761 lineto
+14.17302 2.83461 lineto
+25.51143 2.83461 lineto
+25.51143 14.173 lineto
+36.84984 14.173 lineto stroke
+ 0 setlinejoin
+newpath 36.84984 14.173 moveto
+36.84984 0 lineto
+36.84984 14.173 lineto
+48.18825 14.173 lineto
+48.18825 0 lineto stroke
+newpath 36.84984 20.40916 moveto
+36.84984 26.07837 lineto stroke
+newpath 48.18825 20.40916 moveto
+48.18825 26.07837 lineto stroke
+showpage
+%%Trailer
+cleartomark countdictstack exch sub { end } repeat restore
+%%EOF
diff -r 42edcdd19d7b -r c3a39d966fa5 wmii.mp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wmii.mp Tue Feb 27 19:12:57 2007 -0500
@@ -0,0 +1,19 @@
+beginfig(1)
+%u=0.6cm;
+u=0.2cm;
+h=3u;
+space=u;
+linecap:=butt;
+linejoin:=beveled;
+pickup pencircle scaled 1.1u;
+draw (.5u,h)--(.5u,.5u)--(1.5u+space,.5u)--(1.5u+space,h)--(1.5u+space,.5u)--(2.5u+2space,.5u)\
+ --(2.5u+2space,h-.5u)--(3.5u+3space,h-.5u);
+linejoin:=mitered;
+draw (3.5u+3space,h-.5u)--(3.5u+3space,0)--(3.5u+3space,h-.5u)--(4.5u+4space,h-.5u)--(4.5u+4space,0);;
+
+gap=.6u;
+draw (3.5u+3space,h+gap)--(3.5u+3space,h+u+gap);
+draw (4.5u+4space,h+gap)--(4.5u+4space,h+u+gap);
+endfig
+
+end
diff -r 42edcdd19d7b -r c3a39d966fa5 wmii.svg
--- a/wmii.svg Tue Feb 27 15:34:05 2007 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-<svg
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://web.resource.org/cc/"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- sodipodi:docbase="/home/zahod"
- sodipodi:docname="wmii9.svg"
- inkscape:version="0.41"
- sodipodi:version="0.32"
- version="1.0"
- x="0.0000000"
- y="0.0000000"
- width="240.00000px"
- height="120.00000px"
- id="svg2">
- <metadata
- id="metadata1296">
- <rdf:RDF
- id="RDF1298">
- <cc:Work
- id="Work1300"
- rdf:about="">
- <dc:format
- id="format1302">image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage"
- id="type1304" />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <sodipodi:namedview
- inkscape:current-layer="svg2"
- inkscape:window-y="0"
- inkscape:window-x="0"
- inkscape:cy="50.733714"
- inkscape:cx="133.35719"
- inkscape:zoom="1.6877337"
- inkscape:window-height="538"
- inkscape:window-width="640"
- inkscape:pageshadow="2"
- inkscape:pageopacity="0.0"
- borderopacity="1.0"
- bordercolor="#666666"
- pagecolor="#ffffff"
- id="base" />
- <defs
- id="defs3" />
- <g
- transform="translate(0.000000,-932.3622)"
- id="layer1">
- <path
- d="M 0.0000000,971.36227 L 26.999997,971.36227 L 26.999997,1025.3623 L 54.000004,1025.3623 L 54.000004,971.28555 L 81.310128,971.28555 L 81.310128,1025.3623 L 108.00001,1025.3623 L 108.00001,971.36227 L 240.00000,971.36227 L 240.00000,1052.3622 L 213.00001,1052.3622 L 213.00001,998.36218 L 186.00001,998.36218 L 186.00001,1052.3622 L 159.00001,1052.3622 L 159.00001,998.46222 L 132.01646,998.46222 L 132.01646,1052.3622 L 0.0000000,1052.3622 L 0.0000000,971.36227 z M 159.00001,932.36216 L 186.00001,932.36216 L 186.00001,959.36220 L 159.00001,959.36220 L 159.00001,932.36216 z M 213.00001,932.36216 L 240.00000,932.36216 L 240.00000,959.36220 L 213.00001,959.36220 L 213.00001,932.36216 z "
- style="fill:#010101"
- id="path1366" />
- </g>
-</svg>
Received on Wed Feb 28 2007 - 01:15:08 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:59 UTC