mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 03:10:04 +01:00
Merge commit 'origin/server-1.4-branch' into xorg-server-1.4-apple
This commit is contained in:
commit
c51545729f
2 changed files with 3 additions and 2 deletions
|
|
@ -261,7 +261,7 @@ out:
|
|||
if (ret == Success) {
|
||||
dpn.type = DevicePresenceNotify;
|
||||
dpn.time = currentTime.milliseconds;
|
||||
dpn.devchange = 1;
|
||||
dpn.devchange = 5; /* DeviceControlChanged */
|
||||
dpn.deviceid = dev->id;
|
||||
dpn.control = stuff->control;
|
||||
SendEventToAllWindows(dev, DevicePresenceNotifyMask,
|
||||
|
|
|
|||
|
|
@ -494,7 +494,8 @@ xf86CrtcRotate (xf86CrtcPtr crtc, DisplayModePtr mode, Rotation rotation)
|
|||
{
|
||||
ScrnInfoPtr pScrn = crtc->scrn;
|
||||
xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn);
|
||||
ScreenPtr pScreen = pScrn->pScreen;
|
||||
/* if this is called during ScreenInit() we don't have pScrn->pScreen yet */
|
||||
ScreenPtr pScreen = screenInfo.screens[pScrn->scrnIndex];
|
||||
PictTransform crtc_to_fb, fb_to_crtc;
|
||||
|
||||
PictureTransformIdentity (&crtc_to_fb);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue