[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: How know if desktop effects (composition) is enabled?
From:       Gustavo Pichorim Boiko <gustavo.boiko () kdemail ! net>
Date:       2008-09-02 23:45:33
Message-ID: 62DA00D0-4515-4E57-B307-CBFD5123D6EF () kdemail ! net
[Download RAW message or body]


Em 02/09/2008, às 20:32, Aaron J. Seigo escreveu:

> On Tuesday 02 September 2008, Gustavo Pichorim Boiko wrote:
>> Em 01/09/2008, às 08:40, Lubos Lunak escreveu:
>>> On Monday 01 of September 2008, Teemu Rytilahti wrote:
>>>> Percy Camilo Triveño Aucahuasi kirjoitti viestissään (lähetysaika
>>>> Monday,
>>>> 1.
>>>>
>>>>> My question is: Wich are the best way to know if the composition  
>>>>> is
>>>>> enabled?
>>>
>>> KWindowSystem::compositingActive()
>>>
>>>>> I mean, how my application knows if the desktop effects are
>>>>> enabled?
>>>
>>> Does it need to care?
>>
>> Maybe for deciding whether to use or not an ARGB visual?
>
> you probably want to always have an argb visual so you can paint  
> translucently
> when compositing is turned on.

Yes, you are right. My intention was to say that in fact (showing the  
problem of counting on an ARGB visual that actually does not paint "A"  
correctly) :)

> what we primarily use KWindowSystem::compositingActive() is to pick  
> whether
> we'll be rendering a square block for the background or something  
> with nice
> fancy edges ...

Do you know if KWindowSystem::compositingActive() works also on other  
platforms?

Cheers

Boiko
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic