Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nexarian committed May 10, 2022
1 parent a651706 commit 4d9dcc9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions module/rdpClientCon.c
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,10 @@ rdpClientConProcessScreenSizeMsg(rdpPtr dev, rdpClientCon *clientCon,
if ((dev->width != width) || (dev->height != height))
{
#if defined(XORGXRDP_LRANDR)
/* even though we are not using the built in randr, we still need
* to call this so driver can setup */
ok = RRScreenSizeSet(dev->pScreen, width, height, mmwidth, mmheight);
LLOGLN(0, ("rdpClientConProcessScreenSizeMsg: RRScreenSizeSet ok=[%d]", ok));
ok = rdpLRRScreenSizeSet(dev, width, height, mmwidth, mmheight);
LLOGLN(0, ("rdpClientConProcessScreenSizeMsg: LRRScreenSizeSet ok=[%d]", ok));
#else
Expand Down Expand Up @@ -1287,8 +1291,9 @@ rdpClientConProcessMsgClientInfo(rdpPtr dev, rdpClientCon *clientCon)
if (clientCon->shmemstatus == SHM_UNINITIALIZED
|| clientCon->shmemstatus == SHM_RESIZING)
{
clientCon->shmemstatus = rdpClientConUseHelper() ? shmemstatus
: convertSharedMemoryStatusToActive(shmemstatus);
//clientCon->shmemstatus = rdpClientConUseHelper() ? shmemstatus
// : convertSharedMemoryStatusToActive(shmemstatus);
clientCon->shmemstatus = convertSharedMemoryStatusToActive(shmemstatus);
}

return 0;
Expand Down
2 changes: 1 addition & 1 deletion module/rdpMain.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ xorgxrdpDeferredStartup(OsTimerPtr timer, CARD32 now, pointer arg)
return 0;
}
}
g_timer = TimerSet(g_timer, 0, 100, xorgxrdpDeferredStartup, pScreen);
g_timer = TimerSet(g_timer, 0, 1, xorgxrdpDeferredStartup, pScreen);
return 0;
}

Expand Down

0 comments on commit 4d9dcc9

Please sign in to comment.