Bool rdpRRGetInfo(ScreenPtr pScreen, Rotation *pRotations) { int width; int height; ErrorF("rdpRRGetInfo:\n"); *pRotations = RR_Rotate_0; width = g_rdpScreen.width; height = g_rdpScreen.height; rdpRRRegisterSize(pScreen, width, height); return TRUE; }
Bool rdpRRGetInfo(ScreenPtr pScreen, Rotation *pRotations) { int width; int height; rdpPtr dev; LLOGLN(0, ("rdpRRGetInfo:")); dev = rdpGetDevFromScreen(pScreen); *pRotations = RR_Rotate_0; width = dev->width; height = dev->height; rdpRRRegisterSize(pScreen, width, height); return TRUE; }