xserver/hw
Egbert Eich 44d0fd435a kdrive/UnregisterFd: Fix off by one
The number of FDs has been decremented already, therefore the
number contained the index of the top one that is to me moved down.

This problem was introduced by:
  commit 1110b71e36
  Author: Chris Clayton <chris2553@googlemail.com>

    kdrive: fix build error on gcc 4.8 for out-of-bounds array access

The reason for the warning was likely a confused compiler.
Hoping to reduce the confusion by moving the decrement behind the end
if the copy loop.

Signed-off-by: Egbert Eich <eich@suse.de>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-11-30 11:48:08 -05:00
..
dmx dmx: fix typo in the title 2015-09-23 10:39:47 -04:00
kdrive kdrive/UnregisterFd: Fix off by one 2015-11-30 11:48:08 -05:00
vfb xfixes: Unexport xfixes.h 2015-07-08 16:40:58 -04:00
xfree86 dix: Remove redundant ChangeWindowProperty 2015-11-30 10:24:53 -05:00
xnest xnest: Fix needless build dependency on xcb-util-keysyms 2015-11-24 10:41:14 -05:00
xquartz XQuartz: Cleanup formatting of DarwinEQInit that was butchered by automation a few years ago 2015-10-19 09:06:22 -07:00
xwayland XWayland: Use FocusIn events for keyboard enter 2015-11-24 11:36:36 +10:00
xwin dix: Restore PaintWindow screen hook 2015-07-08 16:41:28 -04:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00