[PATCH xserver] xinerama: Swap the response in RRXineramaWriteMonitor.

Adam Jackson ajax at nwnk.net
Mon Jan 2 18:50:52 UTC 2017


On Mon, 2016-12-12 at 17:45 +0200, Michal Srb wrote:

> @@ -260,6 +260,13 @@ RRXineramaWriteMonitor(ClientPtr client, RRMonitorPtr monitor)
>      scratch.width = monitor->geometry.box.x2 - monitor->geometry.box.x1;
>      scratch.height = monitor->geometry.box.y2 - monitor->geometry.box.y1;
>  
> +    if (client->swapped) {
> +        swaps(&scratch.x_org);
> +        swaps(&scratch.y_org);
> +        swaps(&scratch.width);
> +        swaps(&scratch.height);
> +    }
> +
>      WriteToClient(client, sz_XineramaScreenInfo, &scratch);
>  }

remote: I: patch #127035 updated using rev c96c860b6420adf0d004707a323af30491a1d7d3.
remote: I: 1 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   05e1964..c96c860  master -> master

- ajax


More information about the xorg-devel mailing list