View | Details | Raw Unified
Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +11 lines)
 Lines 709-718    Link Here 
709
	snum = XRRRootToScreen(dpy, 
709
	snum = XRRRootToScreen(dpy, 
710
			       ((XRRScreenChangeNotifyEvent *) event)->root);
710
			       ((XRRScreenChangeNotifyEvent *) event)->root);
711
	dpy->screens[snum].width   = scevent->width;
711
	if (scevent->rotation & (RR_Rotate_90 | RR_Rotate_270)) {
712
	dpy->screens[snum].height  = scevent->height;
712
	    dpy->screens[snum].width   = scevent->height;
713
	dpy->screens[snum].mwidth  = scevent->mwidth;
713
	    dpy->screens[snum].height  = scevent->width;
714
	dpy->screens[snum].mheight = scevent->mheight;
714
	    dpy->screens[snum].mwidth  = scevent->mheight;
715
	    dpy->screens[snum].mheight = scevent->mwidth;
716
	} else {
717
	    dpy->screens[snum].width   = scevent->width;
718
	    dpy->screens[snum].height  = scevent->height;
719
	    dpy->screens[snum].mwidth  = scevent->mwidth;
720
	    dpy->screens[snum].mheight = scevent->mheight;
721
	}
715
	XRenderSetSubpixelOrder (dpy, snum, scevent->subpixel_order);
722
	XRenderSetSubpixelOrder (dpy, snum, scevent->subpixel_order);
716
	break;
723
	break;
717
    default:
724
    default: