aboutsummaryrefslogtreecommitdiffstats
path: root/grab.c
diff options
context:
space:
mode:
authorokan2008-05-19 18:07:53 +0000
committerokan2008-05-19 18:07:53 +0000
commit49f3193bd3ecb3b5e447f9c0b2318069d5945887 (patch)
treefe4527a1e43c90e98c701058c5e7c4019469f9fe /grab.c
parent1bbd6697597fd4f837df1a91351cabd390184fa7 (diff)
downloadcwm-49f3193bd3ecb3b5e447f9c0b2318069d5945887.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/grab.c b/grab.c
index 027d6ed..90f23b2 100644
--- a/grab.c
+++ b/grab.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: grab.c,v 1.11 2008/05/17 03:59:55 okan Exp $
+ * $Id: grab.c,v 1.12 2008/05/19 18:07:53 okan Exp $
*/
#include "headers.h"
@@ -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) {