- moved common (1.3.0.0/1.4.99.901) patches to xserver-kdrive TODO: merge xmodmap and "-mouse tslib" from OE git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4317 311d38ba-8fff-0310-9ca6-ca027cbcb966
17 lines
589 B
Diff
17 lines
589 B
Diff
Index: xorg-server-1.4/hw/kdrive/linux/keyboard.c
|
|
===================================================================
|
|
--- xorg-server-1.4.orig/hw/kdrive/linux/keyboard.c 2007-09-29 18:31:15.000000000 +0200
|
|
+++ xorg-server-1.4/hw/kdrive/linux/keyboard.c 2007-09-29 18:33:02.000000000 +0200
|
|
@@ -743,11 +743,6 @@
|
|
cfsetispeed(&nTty, 9600);
|
|
cfsetospeed(&nTty, 9600);
|
|
tcsetattr(fd, TCSANOW, &nTty);
|
|
- /*
|
|
- * Flush any pending keystrokes
|
|
- */
|
|
- while ((n = read (fd, buf, sizeof (buf))) > 0)
|
|
- ;
|
|
KdRegisterFd (fd, LinuxKeyboardRead, ki);
|
|
return Success;
|
|
}
|