Ticket #2243: xserver-kdrive-glamo.patch

File xserver-kdrive-glamo.patch, 692 bytes (added by Richard.Kralovic, 4 years ago)
  • mi/mieq.c

    diff -ur git.orig/mi/mieq.c git/mi/mieq.c
    old new  
    4747# include   "mi.h" 
    4848# include   "scrnintstr.h" 
    4949 
    50 #define QUEUE_SIZE  256 
     50#define QUEUE_SIZE  4096 
    5151 
    5252typedef struct _Event { 
    5353    xEvent      event; 
     
    9797 
    9898    oldtail = miEventQueue.tail; 
    9999    isMotion = e->u.u.type == MotionNotify; 
     100/* 
     101 * Do not throw away events 
    100102    if (isMotion && miEventQueue.lastMotion && oldtail != miEventQueue.head) 
    101103    { 
    102104        if (oldtail == 0) 
     
    104106        oldtail = oldtail - 1; 
    105107    } 
    106108    else 
     109*/ 
    107110    { 
    108111        newtail = oldtail + 1; 
    109112        if (newtail == QUEUE_SIZE)