ALT Linux Bugzilla
– Attachment 1470 Details for
Bug 9484
Некорректно отрабатывается вращение экрана
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Решает проблему оповещения оконного менеджера о повернутом изображении.
xorg-x11-6.8.2-xrandr.patch (text/plain), 1.02 KB, created by
Michael A. Kangin
on 2006-04-28 01:22:40 MSD
(
hide
)
Description:
Решает проблему оповещения оконного менеджера о повернутом изображении.
Filename:
MIME Type:
Creator:
Michael A. Kangin
Created:
2006-04-28 01:22:40 MSD
Size:
1.02 KB
patch
obsolete
>--- xc.orig/lib/Xrandr/Xrandr.c 2004-04-23 22:43:47 +0400 >+++ xc/lib/Xrandr/Xrandr.c 2006-04-27 15:10:05 +0400 >@@ -709,10 +709,17 @@ > scevent = (XRRScreenChangeNotifyEvent *) event; > snum = XRRRootToScreen(dpy, > ((XRRScreenChangeNotifyEvent *) event)->root); >- dpy->screens[snum].width = scevent->width; >- dpy->screens[snum].height = scevent->height; >- dpy->screens[snum].mwidth = scevent->mwidth; >- dpy->screens[snum].mheight = scevent->mheight; >+ if (scevent->rotation & (RR_Rotate_90 | RR_Rotate_270)) { >+ dpy->screens[snum].width = scevent->height; >+ dpy->screens[snum].height = scevent->width; >+ dpy->screens[snum].mwidth = scevent->mheight; >+ dpy->screens[snum].mheight = scevent->mwidth; >+ } else { >+ dpy->screens[snum].width = scevent->width; >+ dpy->screens[snum].height = scevent->height; >+ dpy->screens[snum].mwidth = scevent->mwidth; >+ dpy->screens[snum].mheight = scevent->mheight; >+ } > XRenderSetSubpixelOrder (dpy, snum, scevent->subpixel_order); > break; > default: >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9484
: 1470