Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xorg-server/dist/hw/sun valuator_mask_zero() ...



details:   https://anonhg.NetBSD.org/xsrc/rev/e841da88dd71
branches:  trunk
changeset: 10630:e841da88dd71
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Nov 21 03:02:09 2020 +0000

description:
valuator_mask_zero() is enough for mouse button events.

diffstat:

 external/mit/xorg-server/dist/hw/sun/sunMouse.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 1a5ca823aacc -r e841da88dd71 external/mit/xorg-server/dist/hw/sun/sunMouse.c
--- a/external/mit/xorg-server/dist/hw/sun/sunMouse.c   Fri Nov 20 19:06:56 2020 +0000
+++ b/external/mit/xorg-server/dist/hw/sun/sunMouse.c   Sat Nov 21 03:02:09 2020 +0000
@@ -283,7 +283,7 @@
            }
        }
        flag = POINTER_RELATIVE;
-       valuator_mask_set_range(&mask, 0, 0, NULL);
+       valuator_mask_zero(&mask);
        QueuePointerEvents(device, type, buttons, flag, &mask);
        break;
     case LOC_X_DELTA:



Home | Main Index | Thread Index | Old Index