diff -ur git.orig/mi/mieq.c git/mi/mieq.c
|
old
|
new
|
|
| 47 | 47 | # include "mi.h" |
| 48 | 48 | # include "scrnintstr.h" |
| 49 | 49 | |
| 50 | | #define QUEUE_SIZE 256 |
| | 50 | #define QUEUE_SIZE 4096 |
| 51 | 51 | |
| 52 | 52 | typedef struct _Event { |
| 53 | 53 | xEvent event; |
| … |
… |
|
| 97 | 97 | |
| 98 | 98 | oldtail = miEventQueue.tail; |
| 99 | 99 | isMotion = e->u.u.type == MotionNotify; |
| | 100 | /* |
| | 101 | * Do not throw away events |
| 100 | 102 | if (isMotion && miEventQueue.lastMotion && oldtail != miEventQueue.head) |
| 101 | 103 | { |
| 102 | 104 | if (oldtail == 0) |
| … |
… |
|
| 104 | 106 | oldtail = oldtail - 1; |
| 105 | 107 | } |
| 106 | 108 | else |
| | 109 | */ |
| 107 | 110 | { |
| 108 | 111 | newtail = oldtail + 1; |
| 109 | 112 | if (newtail == QUEUE_SIZE) |