discuss-gnustep
[Top][All Lists]
Advanced

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

Re: questions on the gworkspace desktop


From: Enrico Sersale
Subject: Re: questions on the gworkspace desktop
Date: Thu, 20 Jan 2005 14:05:11 +0200

On 2005-01-19 03:41:51 +0200 Alex Perez <aperez@student.santarosa.edu> wrote:

Andreas Schik wrote:
Hi,

On 2005-01-17 16:23:59 +0100 Enrico Sersale <enrico@dtedu.net> wrote:

I've merged back Desktop.app into GWorkspace so the desktop window can now by shown/hidden from the Tools menu. You can also choose from the preferences window if the Dock must be visible or not. Moreover, now it is possible to have the Desktop and the Dock "omnipresent".

This looks much better now :-) Many thanks. There are two things, though:
1. In file GWorkspace/Desktop/Dock/Dock.m you refer to the header Desktop.h, which is now GWDesktop.h. 2. The 'omnipresent' flag for Desktop does not work here. Might be that it has to do with either the fact that I switched off the Dock or with WindowMaker 0.91.

WindowMaker 0.91 (and, to a lesser extent, 0.90) are completely NET_WM compliant window managers. This is I implore Enrico to test this stuff, since, doubtlessly some behaviors have changed.

Done.
The interesting thing is that it seems that with 0.91 no trick is needed to 
make a window omnipresent. This because -back does it for us; XGServerWindow 
already sets the _NET_WM_WINDOW_TYPE_DESKTOP atom for a window at 
NSDesktopWindowLevel.
The only thing to notice is that it seems that you must add to your NSWindow 
something as:

- (void)orderWindow:(NSWindowOrderingMode)place
         relativeTo:(int)otherWin
{
  [super orderWindow: place relativeTo: otherWin];
  [self setLevel: NSDesktopWindowLevel];
}

-setLevel: used in other places doesn't seem to work.
So, I've leaved my XDesktopWindow.bundle in place to be used with WindowMaker < 
0.91 (or other window managers, I suppose) but it does nothing if you are using 
0.91.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]