[compiz] Minor fix to multi-head changes for mixed resolutions
Shawn Starr
shawn.starr at rogers.com
Wed Nov 1 08:45:54 PST 2006
Hi David,
I have a dual-head right now and I'm about to compile compiz git to test. Does your recent changes make separate cubes now for each screen?
Thanks,
Shawn.
----- Original Message ----
From: David Reveman
To: Mike Cook
Cc: compiz
Sent: Wednesday, November 1, 2006 12:31:36 PM
Subject: Re: [compiz] Minor fix to multi-head changes for mixed resolutions
On Wed, 2006-11-01 at 09:02 -0700, Mike Cook wrote:
> Hey, David, for me the recent multihead changes had minor a problem with mixed resolutions (1600x1200 & 1280x1024). The viewport was getting set partially off screen.
>
> The following tweak fixed it for me:
>
> --- plugins/display.c
> +++ plugins/display.c
> @@ -2069,7 +2069,7 @@ eventLoop (void)
> {
> if (s->nOutputDev > 1)
> glViewport (s->outputDev[i].region.extents.x1,
> - s->outputDev[i].region.extents.y1,
> + s->height - s->outputDev[i].region.extents.y2,
> s->outputDev[i].width,
> s->outputDev[i].height);
Thanks, I missed that.
>
>
> I still have a problem with cube and rotate in that my primary head works, but the second head is a single flat window which rotates at its center point. I'll try to look at that next.
Yes, it's currently only working with heads that have the same
resolution as the primary head. I'll improve it sometime soon...
-David
_______________________________________________
compiz mailing list
compiz at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz
More information about the compiz
mailing list