mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] app: fix spelling error
This commit is contained in:
@@ -297,7 +297,7 @@ static int sdlEventFilter(void * userdata, SDL_Event * event)
|
||||
break;
|
||||
|
||||
app_updateCursorPos(event->motion.x, event->motion.y);
|
||||
app_handleMouseRelitive(event->motion.xrel, event->motion.yrel,
|
||||
app_handleMouseRelative(event->motion.xrel, event->motion.yrel,
|
||||
event->motion.xrel, event->motion.yrel);
|
||||
break;
|
||||
|
||||
@@ -455,7 +455,7 @@ static void sdlWarpPointer(int x, int y, bool exiting)
|
||||
|
||||
static void sdlRealignPointer(void)
|
||||
{
|
||||
app_handleMouseRelitive(0.0, 0.0, 0.0, 0.0);
|
||||
app_handleMouseRelative(0.0, 0.0, 0.0, 0.0);
|
||||
}
|
||||
|
||||
static bool sdlIsValidPointerPos(int x, int y)
|
||||
|
@@ -757,7 +757,7 @@ static void relativePointerMotionHandler(void * data,
|
||||
wl_fixed_t dxW, wl_fixed_t dyW, wl_fixed_t dxUnaccelW,
|
||||
wl_fixed_t dyUnaccelW)
|
||||
{
|
||||
app_handleMouseRelitive(
|
||||
app_handleMouseRelative(
|
||||
wl_fixed_to_double(dxW),
|
||||
wl_fixed_to_double(dyW),
|
||||
wl_fixed_to_double(dxUnaccelW),
|
||||
|
@@ -808,7 +808,7 @@ static void x11GenericEvent(XGenericEventCookie *cookie)
|
||||
app_updateCursorPos(device->event_x, device->event_y);
|
||||
|
||||
if (!x11.pointerGrabbed)
|
||||
app_handleMouseRelitive(0.0, 0.0, 0.0, 0.0);
|
||||
app_handleMouseRelative(0.0, 0.0, 0.0, 0.0);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -857,7 +857,7 @@ static void x11GenericEvent(XGenericEventCookie *cookie)
|
||||
prev_axis[0] = axis[0];
|
||||
prev_axis[1] = axis[1];
|
||||
|
||||
app_handleMouseRelitive(axis[0], axis[1], raw_axis[0], raw_axis[1]);
|
||||
app_handleMouseRelative(axis[0], axis[1], raw_axis[0], raw_axis[1]);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -1067,7 +1067,7 @@ static void x11WarpPointer(int x, int y, bool exiting)
|
||||
|
||||
static void x11RealignPointer(void)
|
||||
{
|
||||
app_handleMouseRelitive(0.0, 0.0, 0.0, 0.0);
|
||||
app_handleMouseRelative(0.0, 0.0, 0.0, 0.0);
|
||||
}
|
||||
|
||||
static bool x11IsValidPointerPos(int x, int y)
|
||||
|
Reference in New Issue
Block a user