|
Line
Link Here
|
| 0 |
-- xc.orig/lib/Xrandr/Xrandr.c 2004-04-23 22:43:47 +0400 |
0 |
++ xc/lib/Xrandr/Xrandr.c 2006-04-27 15:10:05 +0400 |
|
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: |