diff options
author | Koen Kooi <koen@openembedded.org> | 2008-12-13 13:58:37 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-12-13 13:58:37 +0100 |
commit | a05f5583421e0f925bdb52f1fc8517c6492f4cba (patch) | |
tree | af70a4980415421a55d947e07ed8c2c5b7fc76f7 /packages/xorg-xserver/xserver-kdrive-1.5.3/keyboard-resume-workaround.patch | |
parent | aeba92774e27b75f03cec622837334a19479b774 (diff) |
xserver-kdrive: add 1.5.3
Diffstat (limited to 'packages/xorg-xserver/xserver-kdrive-1.5.3/keyboard-resume-workaround.patch')
-rw-r--r-- | packages/xorg-xserver/xserver-kdrive-1.5.3/keyboard-resume-workaround.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/xorg-xserver/xserver-kdrive-1.5.3/keyboard-resume-workaround.patch b/packages/xorg-xserver/xserver-kdrive-1.5.3/keyboard-resume-workaround.patch new file mode 100644 index 0000000000..4964ff5479 --- /dev/null +++ b/packages/xorg-xserver/xserver-kdrive-1.5.3/keyboard-resume-workaround.patch @@ -0,0 +1,16 @@ +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; + } |