diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2018-07-18 23:54:46 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-11-09 15:31:57 +0100 |
commit | 3c1b1efad2ca42154789f09e2519630c5471ed41 (patch) | |
tree | d8150839c902dca3dd5f37b2b9e010220193e895 /nx-X11/programs/Xserver/xkb/xkbAccessX.c | |
parent | 7487d7fa2dbc69fe39f81dd5b3e9a1a32ee7a2e0 (diff) | |
download | nx-libs-3c1b1efad2ca42154789f09e2519630c5471ed41.tar.gz nx-libs-3c1b1efad2ca42154789f09e2519630c5471ed41.tar.bz2 nx-libs-3c1b1efad2ca42154789f09e2519630c5471ed41.zip |
XKB: Remove unused DDX functions
commit 7c4c00649cae855e141ec9a3667bfe399e3156d0
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Jan 1 05:25:52 2009 +1100
XKB: Remove unused DDX functions
They were complete no-ops anyway.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Backported-to-nx-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/programs/Xserver/xkb/xkbAccessX.c')
-rw-r--r-- | nx-X11/programs/Xserver/xkb/xkbAccessX.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/xkb/xkbAccessX.c b/nx-X11/programs/Xserver/xkb/xkbAccessX.c index dd07713b8..5d9917d2b 100644 --- a/nx-X11/programs/Xserver/xkb/xkbAccessX.c +++ b/nx-X11/programs/Xserver/xkb/xkbAccessX.c @@ -132,9 +132,7 @@ xEvent xE; } #endif - if (_XkbIsPressEvent(type)) - XkbDDXKeyClick(keybd,keyCode,TRUE); - else if (isRepeat) + if (!_XkbIsPressEvent(type) && isRepeat) XkbLastRepeatEvent= (void *)&xE; XkbProcessKeyboardEvent(&xE,keybd,1L); XkbLastRepeatEvent= NULL; |