diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-12-26 09:22:49 -0800 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-19 21:40:29 +0200 |
commit | 1b0df5da6d70f306db248907bdf65fe2e3ba4005 (patch) | |
tree | 51a8aa167c771ca628a4000b03d6b23736895efc | |
parent | 4fad46e9cbc7f6a29a113bf064cf210743544caf (diff) | |
download | nx-libs-1b0df5da6d70f306db248907bdf65fe2e3ba4005.tar.gz nx-libs-1b0df5da6d70f306db248907bdf65fe2e3ba4005.tar.bz2 nx-libs-1b0df5da6d70f306db248907bdf65fe2e3ba4005.zip |
XkbSelectEventDetails: remove unnecessary assignments
clear & selectAll are set to 0 already a few lines earlier,
affectWhich is set to XkbMapNotifyMask a few lines later.
None are used between the other assignments and the removed ones.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
-rw-r--r-- | nx-X11/lib/X11/XKB.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/nx-X11/lib/X11/XKB.c b/nx-X11/lib/X11/XKB.c index cd0a448ad..7f1b233aa 100644 --- a/nx-X11/lib/X11/XKB.c +++ b/nx-X11/lib/X11/XKB.c @@ -169,9 +169,6 @@ XkbSelectEventDetails(Display *dpy, /* doesn't. Make sure that we always request the stuff */ /* that the implicit support needs, and just filter out anything */ /* the client doesn't want later */ - req->affectWhich = 0; - req->selectAll = 0; - req->clear = 0; req->affectMap = (CARD16) affect; req->map = (CARD16) details | (XkbAllClientInfoMask & affect); req->affectWhich = XkbMapNotifyMask; |