[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: App Icon patch revision
From: |
Dan Pascu |
Subject: |
Re: App Icon patch revision |
Date: |
Mon, 5 Feb 2001 07:42:28 +0200 (EET) |
On 5 Feb, Sungjin Chun wrote:
> Hi,
>
> I've add some more modification and change structure.
> appRootWindow is created for context and in window
> structure, I added flag for testing whether it's icon or
> not. Comments are welcome :-)
>
> PS)
> I cannot figure out why window_group. ie, app root window
> is set as XDRW. In WindowMaker it just create another
> app root window and use XDRW only for drawing.
> Can you let me know? ( test.c )
As I already told you, do NOT use context->drawable for your drawing,
group leader window or any other window needs you may have. The only
place where context->drawable is to be used is when making calls to
XCreatePixmap(), to pass a drawable that is already in that specific
context. This is the only use for context->drawable.
In all other places you can forget about it. Whenever you need a window
create one for yourself using XCreateWindow() or XCreateSimpleWindow().
--
Dan
Re: App Icon patch revision,
Dan Pascu <=