[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] XaAES: background,was:Chaos in gradients



Jo Even Skarstein wrote:

> On Fri, 02 Sep 2011 10:37:51 +0200, Helmut Karlowski
> <helmut.karlowski@ish.de> wrote:
>
> > It's not nasty. Consider the root-window as any other window. The
> > AES-app can call any vdi-call it needs inside that window.
>
> Who owns the root-window? The AES or the application?

The desktop.

> The standard way to set a new desktop in AES is to use
> wind_set(WF_NEWDESK, object...). The AES draws this object-tree whenever
> (parts of) the desktop needs to be redrawn. Unless userdefs are involved
> the application that owns the desktop doesn't know when or where the
> desktop is redrawn. I don't see how any application can consider the root
> window as any other window.

The AES sends a redraw-message to the root-window-owner for the root-window. That's all.

The root-window is a window (see set_desktop, desktop.c) and also the menubar if set to ontop.

-Helmut