Re: [Nautilus-list] Need help with bug fix in eel



On 2/21/02 11:10 AM, "Gaute Lindkvist" <lindkvis stud ntnu no> wrote:

> Can someone help me with a sure way of finding out if a given GtkWindow is
> the desktop? I've been stomping my head against the keyboard for some time
> now.

The way to do it is to get the property _NET_WM_WINDOW_TYPE. If the type is
_NET_WM_WINDOW_TYPE_DESKTOP, then it's the desktop window.

Not sure whether this can be done with gdk or if you have to use X directly.

    -- Darin





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