Skip to content

Commit

Permalink
added various bits of debugging.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Richardson <mcr@xelerance.com>
  • Loading branch information
Michael Richardson authored and Michael RIchardson mcr@xelerance.com committed Sep 19, 2007
1 parent 2eaf9ad commit ca0a40a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion xorg-server/hw/vnc/Xvnc-randr.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ static void vncRandRGetOneInfo(ScreenPtr pScreen,
unsigned int mmx, unsigned int mmy)
{
RRScreenSizePtr pSize;
vfbScreenInfo *vfb0;

vfb0 = vfbFirstScreen();

/* start by creating one for the actual size */
pSize = RRRegisterSize (pScreen,
Expand All @@ -88,6 +91,8 @@ static void vncRandRGetOneInfo(ScreenPtr pScreen,

if(selected) {
/* tells it which one is current! */
fprintf(stderr, "selected pSize=%u (%u)\n",
pSize->id, vfb0->randrSelected);
RRSetCurrentConfig (pScreen, RR_Rotate_0,
DEFAULT_REFRESH_RATE, pSize);
}
Expand Down Expand Up @@ -168,7 +173,7 @@ vncRandRSetConfig (ScreenPtr pScreen,

vncResizeServer(0);

fprintf(stderr, "resized to %ux%u\n", w,h);
fprintf(stderr, "resized to %ux%u for pSize=%u\n", w,h, pSize->id);
return TRUE;
}

Expand Down

0 comments on commit ca0a40a

Please sign in to comment.