From bfbe3496919d91807f0fa80188fb0132e73643b6 Mon Sep 17 00:00:00 2001 From: yu-zify <99244012+yu-zify@users.noreply.github.com> Date: Wed, 5 Jun 2024 00:42:04 +0800 Subject: [PATCH] Update InitOutput.c --- app/src/main/cpp/lorie/InitOutput.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/cpp/lorie/InitOutput.c b/app/src/main/cpp/lorie/InitOutput.c index 59c06f12a..7ddc5d98a 100644 --- a/app/src/main/cpp/lorie/InitOutput.c +++ b/app/src/main/cpp/lorie/InitOutput.c @@ -543,7 +543,7 @@ lorieRandRInit(ScreenPtr pScreen) { || !RROutputSetCrtcs(output, &crtc, 1) || !RROutputSetConnection(output, RR_Connected) || !RRCrtcNotify(crtc, mode, 0, 0, RR_Rotate_0, NULL, 1, &output)) - return TRUE; + return FALSE; return TRUE; } @@ -608,12 +608,12 @@ CursorForDevice(DeviceIntPtr pDev) { } Bool lorieChangeScreenName(unused ClientPtr pClient, void *closure) { - RROutputPtr output = RRFirstOutput(pScreenPtr); + /* RROutputPtr output = RRFirstOutput(pScreenPtr); memset(output->name, 0, 1024); strncpy(output->name, closure, 1024); output->name[1023] = '\0'; output->nameLength = strlen(output->name); - free(closure); + free(closure);*/ return TRUE; }