|
|
@ -844,7 +844,6 @@ xsetsel(char *str) { |
|
|
|
|
|
|
|
|
|
|
|
void |
|
|
|
void |
|
|
|
brelease(XEvent *e) { |
|
|
|
brelease(XEvent *e) { |
|
|
|
fprintf(stderr, "brelease\n"); |
|
|
|
|
|
|
|
struct timeval now; |
|
|
|
struct timeval now; |
|
|
|
|
|
|
|
|
|
|
|
if(IS_SET(MODE_MOUSE)) { |
|
|
|
if(IS_SET(MODE_MOUSE)) { |
|
|
@ -3175,7 +3174,6 @@ run(void) { |
|
|
|
XNextEvent(xw.dpy, &ev); |
|
|
|
XNextEvent(xw.dpy, &ev); |
|
|
|
if(XFilterEvent(&ev, None)) |
|
|
|
if(XFilterEvent(&ev, None)) |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
fprintf(stderr, "ev.type = %d\n", ev.type); |
|
|
|
|
|
|
|
if(handler[ev.type]) |
|
|
|
if(handler[ev.type]) |
|
|
|
(handler[ev.type])(&ev); |
|
|
|
(handler[ev.type])(&ev); |
|
|
|
} |
|
|
|
} |
|
|
|