[compiz] Minor fix to multi-head changes for mixed resolutions

Shawn Starr shawn.starr at rogers.com
Wed Nov 1 09:21:58 PST 2006


Yeah, that would be nice. I have compiz git installed. The second monitor shows only 1 side, so when you rotate screen the other screen goes black then a desktop side appears. 

I am also running at 1600x1200 on one and 1280x1024 on another.

Shawn.

----- Original Message ----
From: Denis F. Latypoff 
To: Shawn Starr 
Cc: compiz
Sent: Wednesday, November 1, 2006 11:50:58 AM
Subject: Re[2]: [compiz] Minor fix to multi-head changes for mixed resolutions

Hello Shawn,

Wednesday, November 1, 2006, 10:45:54 PM, you wrote:

> 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?

Yeah, It would be great if with dual head we've got 8 viewports. 4
on primary head and 4 in secondary.

> 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



> _______________________________________________
> compiz mailing list
> compiz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/compiz


-- 
Best regards,
 Denis Latypoff                          mailto:latypoff at yandex.ru






More information about the compiz mailing list