Skip to content

Commit

Permalink
Update InitOutput.c
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-zify authored Jun 4, 2024
1 parent c80caab commit bfbe349
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/cpp/lorie/InitOutput.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit bfbe349

Please sign in to comment.