summary refs log tree commit diff
path: root/grab.c
diff options
context:
space:
mode:
authorokan <okan>2008-05-19 18:07:53 +0000
committerokan <okan>2008-05-19 18:07:53 +0000
commit53116c4ec3792901d7ac774199963d915ea0da5a (patch)
tree150e382a194b6cc4a6b809a45bd808a0d4a5c75b /grab.c
parent981c2480dbeba34162711766a3b258421fe88ff8 (diff)
downloadcwm-53116c4ec3792901d7ac774199963d915ea0da5a.tar.gz
cwm-53116c4ec3792901d7ac774199963d915ea0da5a.tar.xz
cwm-53116c4ec3792901d7ac774199963d915ea0da5a.zip
stop normalizing search input; searching and matching are still
case-insensitive.  since this was the only use of normalizing input,
simplify as well.

allows one to exec with mixed case unmatched commands.

"works for me" oga@
Diffstat (limited to 'grab.c')
-rw-r--r--grab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/grab.c b/grab.c
index 3aeffc6..6f0e56a 100644
--- a/grab.c
+++ b/grab.c
@@ -301,7 +301,7 @@ grab_label(struct client_ctx *cc)
 		switch (e.type) {
 		case KeyPress:
 			if (input_keycodetrans(e.xkey.keycode, e.xkey.state,
-			    &ctl, &chr, 0) < 0)
+			    &ctl, &chr) < 0)
 				continue;
 
 			switch (ctl) {