[client] move remaining code in core.c into the SDL backend

This commit is contained in:
Geoffrey McRae committed 2021-02-21 10:31:48 +11:00
1 parent bf583290a4
commit 6b1e310343
8 files changed
+53 -35

No files matched your search

+4
View File
@@ -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)();
-1
View File
@@ -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