[compiz] switch metacity->compiz (compiz ignores its own settings)

dragoran drago01 at gmail.com
Wed Feb 28 13:48:52 PST 2007


David Reveman wrote:
> On Sat, 2007-02-17 at 10:16 +0100, dragoran wrote:
>   
>> David Reveman wrote:
>>     
>>> On Thu, 2007-02-15 at 20:39 +0100, dragoran wrote:
>>>   
>>>       
>>>> David Reveman wrote:
>>>>     
>>>>         
>>>>> On Fri, 2007-02-09 at 13:35 +0100, dragoran wrote:
>>>>>   
>>>>>       
>>>>>           
>>>>>> I have configured compiz to use 1 workspace and 4 viewports and metacity 
>>>>>> to use 4 workspaces.
>>>>>> When I start compiz while metacity was running it uses 4 workspaces and 
>>>>>> 4 viewports (ignoring the gconf settings).
>>>>>> When I restart X so that compiz is started before metacity this does not 
>>>>>> happen (it uses what its configured for).
>>>>>> bug or feature?
>>>>>> if feature can it be disabled?
>>>>>> switching metacity->compiz without X restart is no longer possible with 
>>>>>> this..
>>>>>>     
>>>>>>         
>>>>>>             
>>>>> It is a feature but I sounds good to make it optional to use workspace
>>>>> hints set by a previously running WM.
>>>>>
>>>>>   
>>>>>       
>>>>>           
>>>> ok where is this done (code)?
>>>> I was unable to find it to do anything with it...
>>>>     
>>>>         
>>> The call to getDesktopHints in addScreen function found in screen.c is
>>> what's making compiz read the currently set hints at start up.
>>>
>>>   
>>>       
>> I have attached a patch that makes this optional (getting nDesktop from 
>> previous running wm).
>>     
>
> I don't think the current patch works as we get those desktop hints
> before any plugin can possible set this new option. We can change it so
> we get the desktop hints after initializing plugins but maybe it makes
> more sense to put this in a command line option as it's only used at
> start up.
>
>   
ok I have changed the default to true when testing it so I have not 
noticed that.
will send a new patch tomorrow with a commandline option...
> - David
>
>
>   



More information about the compiz mailing list