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

List:       freedesktop-xorg
Subject:    Re: =?utf-8?B?5Zue5aSN77yaIHRyYW5zcGFyZW50IGJhY2tncm91bmQgb2YgIFhMaWIgd2luZA==?= =?utf-8?B?b3c=?=
From:       Thomas_Lübking <thomas.luebking () gmail ! com>
Date:       2014-04-14 12:13:14
Message-ID: 6180900e-cb81-497b-a353-73ba6f716504 () gmail ! com
[Download RAW message or body]

On Montag, 14. April 2014 03:16:35 CEST, LIDE wrote:
> What do you mean "a running compositor"? Can you give me some 
> example? If I want to set the background of thewindow 
> transparent,how should I do?

The Xorg server does not support 32bit output, this is done by compositing clients \
like many WMs, eg. KWin, Mutter (gnome3), Metacity, Compiz etc. or standalone \
compositors like compton or xcompmgr.

> I don't know  if you understand my requirement.
You want an ARGB window, the provided SO link basically shows how to do that:

> > You'll also have to provide correct visual and colormap, see eg. here:
> > http://stackoverflow.com/questions/3645632/how-to-create-a-window-with-a-bit-depth-of-32
> > 

Also toolkits like Qt or gtk+ nicely abstract this (what will make your life much \
easier, if you use such)

Cheers,
Thomas
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s


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

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