Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
26d0a0b
)
remove unused variable
author
Jason Woofenden
<jason@jasonwoof.com>
Sat, 18 Jun 2016 14:43:51 +0000
(10:43 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sat, 18 Jun 2016 14:43:51 +0000
(10:43 -0400)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
1522a17
..
b7f5a26
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-491,7
+491,7
@@
attachstack(Client *c) {
void
buttonpress(XEvent *e) {
void
buttonpress(XEvent *e) {
- unsigned int i, x, click;
+ unsigned int i, click;
Arg arg = {0};
Client *c;
Monitor *m;
Arg arg = {0};
Client *c;
Monitor *m;
@@
-1238,6
+1238,7
@@
manage(Window w, XWindowAttributes *wa) {
XMapWindow(dpy, c->win);
focus(c);
if(key_buffering) {
XMapWindow(dpy, c->win);
focus(c);
if(key_buffering) {
+ // FIXME: try turning off buffering below where we send the virt keypresses
key_buffering = False;
grabkeys(); // stop grabbing typing keys
if(key_buffer_len > 0) {
key_buffering = False;
grabkeys(); // stop grabbing typing keys
if(key_buffer_len > 0) {
@@
-1246,6
+1247,7
@@
manage(Window w, XWindowAttributes *wa) {
}
}
key_buffer_len = 0;
}
}
key_buffer_len = 0;
+ // FIXME ie here
}
}
}
}