mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-21 20:26:45 +00:00
input: constify valuators passed in by input drivers.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Keith Packard <keithp@keithp.com> Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com>
This commit is contained in:
parent
be978c7fc9
commit
79ea9ef399
4 changed files with 14 additions and 14 deletions
|
|
@ -1016,7 +1016,7 @@ xf86PostMotionEventP(DeviceIntPtr device,
|
|||
int is_absolute,
|
||||
int first_valuator,
|
||||
int num_valuators,
|
||||
int *valuators)
|
||||
const int *valuators)
|
||||
{
|
||||
int i = 0, nevents = 0;
|
||||
DeviceEvent *event;
|
||||
|
|
@ -1097,7 +1097,7 @@ xf86PostProximityEventP(DeviceIntPtr device,
|
|||
int is_in,
|
||||
int first_valuator,
|
||||
int num_valuators,
|
||||
int *valuators)
|
||||
const int *valuators)
|
||||
{
|
||||
int i, nevents;
|
||||
|
||||
|
|
@ -1143,7 +1143,7 @@ xf86PostButtonEventP(DeviceIntPtr device,
|
|||
int is_down,
|
||||
int first_valuator,
|
||||
int num_valuators,
|
||||
int *valuators)
|
||||
const int *valuators)
|
||||
{
|
||||
int i = 0, nevents = 0;
|
||||
int flags = 0;
|
||||
|
|
@ -1208,7 +1208,7 @@ xf86PostKeyEventP(DeviceIntPtr device,
|
|||
int is_absolute,
|
||||
int first_valuator,
|
||||
int num_valuators,
|
||||
int *valuators)
|
||||
const int *valuators)
|
||||
{
|
||||
int i = 0, nevents = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue