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

This commit is contained in:
Geoffrey McRae
2021-01-25 20:32:02 +11:00
parent bf583290a4
commit 6b1e310343
8 changed files with 53 additions and 35 deletions

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)();