mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-19 06:49:55 +00:00
Grab mouse on X11
This commit is contained in:
@@ -51,6 +51,7 @@ void x11_setup(int videoFormat, int width, int height, int redrawRate, void* con
|
||||
exit(1);
|
||||
}
|
||||
|
||||
XInitThreads();
|
||||
display = XOpenDisplay(NULL);
|
||||
if (!display) {
|
||||
fprintf(stderr, "Error: failed to open X display.\n");
|
||||
|
||||
Reference in New Issue
Block a user