diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-01-10 18:06:16 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-01-10 18:06:16 +0100 |
commit | a45d6983ab401fa9765c33de0c24394ae698cce0 (patch) | |
tree | ad1640b0f218b2fd563e1e79c225dfd1875dcb24 | |
parent | 08420a935b96bf1bd8531c3a9cda66ee87e31855 (diff) |
applied Alexis Hildebrandts patches
-rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -164,6 +164,8 @@ kpress(XKeyEvent * e) { | |||
164 | switch (ksym) { | 164 | switch (ksym) { |
165 | default: /* ignore other control sequences */ | 165 | default: /* ignore other control sequences */ |
166 | return; | 166 | return; |
167 | case XK_bracketleft: | ||
168 | ksym = XK_Escape; | ||
167 | break; | 169 | break; |
168 | case XK_h: | 170 | case XK_h: |
169 | case XK_H: | 171 | case XK_H: |
@@ -175,7 +177,6 @@ kpress(XKeyEvent * e) { | |||
175 | match(text); | 177 | match(text); |
176 | drawmenu(); | 178 | drawmenu(); |
177 | return; | 179 | return; |
178 | break; | ||
179 | } | 180 | } |
180 | } | 181 | } |
181 | if(e->state & Mod1Mask) { | 182 | if(e->state & Mod1Mask) { |