mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] all: move all SDL specific code into displayservers/sdl
This commit is contained in:
@@ -88,7 +88,12 @@ static void x11CBSelectionIncr(const XPropertyEvent e);
|
||||
static void x11CBSelectionNotify(const XSelectionEvent e);
|
||||
static void x11CBXFixesSelectionNotify(const XFixesSelectionNotifyEvent e);
|
||||
|
||||
static bool x11Init(SDL_SysWMinfo * info)
|
||||
static bool x11Probe(void)
|
||||
{
|
||||
return getenv("DISPLAY") != NULL;
|
||||
}
|
||||
|
||||
static bool x11Init(const LG_DSInitParams params)
|
||||
{
|
||||
XIDeviceInfo *devinfo;
|
||||
int count;
|
||||
@@ -1107,7 +1112,7 @@ static void x11CBRequest(LG_ClipboardData type)
|
||||
|
||||
struct LG_DisplayServerOps LGDS_X11 =
|
||||
{
|
||||
.subsystem = SDL_SYSWM_X11,
|
||||
.probe = x11Probe,
|
||||
.init = x11Init,
|
||||
.startup = x11Startup,
|
||||
.shutdown = x11Shutdown,
|
||||
|
Reference in New Issue
Block a user