mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 10:44:01 +00:00
[client] move remaining code in core.c
into the SDL backend
This commit is contained in:
@@ -87,6 +87,7 @@ struct LG_DisplayServerOps
|
||||
bool (*eventFilter)(SDL_Event * event);
|
||||
|
||||
/* dm specific cursor implementations */
|
||||
void (*showPointer)(bool show);
|
||||
void (*grabPointer)();
|
||||
void (*ungrabPointer)();
|
||||
void (*grabKeyboard)();
|
||||
@@ -100,6 +101,9 @@ struct LG_DisplayServerOps
|
||||
* deltas */
|
||||
void (*realignPointer)();
|
||||
|
||||
/* returns true if the position specified is actually valid */
|
||||
bool (*isValidPointerPos)(int x, int y);
|
||||
|
||||
/* called to disable/enable the screensaver */
|
||||
void (*inhibitIdle)();
|
||||
void (*uninhibitIdle)();
|
||||
|
@@ -32,6 +32,5 @@ void util_cursorToInt(double ex, double ey, int *x, int *y);
|
||||
bool util_guestCurToLocal(struct DoublePoint *local);
|
||||
void util_localCurToGuest(struct DoublePoint *guest);
|
||||
void util_rotatePoint(struct DoublePoint *point);
|
||||
bool util_isValidCursorLocation(int x, int y);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user