[hackers] [wmii] Fix drawing shape mask. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Sat, 5 Jun 2010 18:36:45 +0000 (UTC)

changeset: 2708:521fb6b2f8ae
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Sat Jun 05 14:36:41 2010 -0400
files: cmd/wmii/div.c man/wmii.1
description:
Fix drawing shape mask.

diff -r ac4999077666 -r 521fb6b2f8ae cmd/wmii/div.c
--- a/cmd/wmii/div.c Sat Jun 05 04:31:46 2010 -0400
+++ b/cmd/wmii/div.c Sat Jun 05 14:36:41 2010 -0400
@@ -94,7 +94,7 @@
 drawdiv(Divide *d) {
 
         fill(divmask, divmask->r, (Color){0});
- drawimg(divmask, (Color){1}, (Color){1}, d);
+ drawimg(divmask, (Color){~0,~0,~0}, (Color){~0,~0,~0}, d);
         drawimg(divimg, divcolor.bg, divcolor.border, d);
 
         copyimage(d->w, divimg->r, divimg, ZP);
diff -r ac4999077666 -r 521fb6b2f8ae man/wmii.1
--- a/man/wmii.1 Sat Jun 05 04:31:46 2010 -0400
+++ b/man/wmii.1 Sat Jun 05 14:36:41 2010 -0400
@@ -307,13 +307,24 @@
 special meaning:
 
 .RS 8
+
+.RS
+: continue
+.RS
+Normally, when a matching rule is encountered, rule
+matching stops. When the continue key is provided
+(with any value), matching continues at the next
+rule.
+.RE
+.RE
 .TP
-default\-tags \fI<tags>\fR
+default\-tags=\fI<tags>\fR
 Like \fItags\fR, but only sets the tags if they can't be
 obtained from the client's group or from the
 _WMII_TAGS window property. This key should be
 preferred to the \fItags\fR key in most cases.
 .RS -8
+
 .TP
 keys
 The \fIkeys\fR file contains a list of keys which
Received on Sat Jun 05 2010 - 18:36:45 UTC

This archive was generated by hypermail 2.2.0 : Sat Jun 05 2010 - 18:48:03 UTC