Re: [Interfacewm-discuss] Re: [Simplygnustep-discuss] GSDock and interfacewm interaction
Status: Alpha
Brought to you by:
cehardin
From: Chris B. V. <ch...@we...> - 2003-06-04 19:40:49
|
On Wed, 04 Jun 2003 13:58:04 -0500 "Mondragon, Ian" <ian...@ba...> wrote: [...] > 4. the dock is an IWMComponent & is actively listening for a variety > of notifications, including the one just created by the new client > 5. the dock recieves the notification & it's associated userInfo > dictionary, which identifies the client & gives us a reference to the > image to use for the dock's icon representing this client > 6. this is all that is now needed in order to interact with/control > the client; you can now post a variety of notifications using this > information directly from your component, with no need to hook into > other IWM libs. for example: There are two problems I can see that may arise here ... a) there may be two (or more) components that will 'fight' for the notification (well, not for the notification per se, but who's gonna handle it). Eg. you have a Dock and a Panel and both want to display the appicon. b) As it is right now (to my knowledge) there's no way you can "capture" and "highjack" the appicon and and prevent GNUstep from _not_ displaying it at the bottom of your screen anyway. According to Documentation/Foundation/DefaultsSummary.html this is what GSAppOwnsMiniwindow and UseWindowMakerIcons are supposed to offer, but it doesn't seem to work. In case you don't have the docu at hand, here's what it says: GSAppOwnsMiniwindow A boolean value which defaults to YES. Some window managers control the miniaturized versions of windows themselves. Set this default to NO to let the window manager have it's way, otherwise, GNUstep will create a miniwindow. UseWindowMakerIcons A boolean value which defaults to YES. If set to YES then icon windows are controlled by the window manager, otherwise they are controlled by the GNUstep application. I've tested each alone and both together, with about 8 or 10 different window managers, and the result was always the same: GNUstep _always_ displayed the appicon. How do I know? Some of the WMs I've tested put window decorations around X11 appicons, yet, GNUstep-based apps' had none. Others sorted appicons similar to Window Maker, yet GNUstep appicons _always_ appeared at 0,0(the lower left corner) That is, appicons for eg. Ink and Terminal got "stacked" on top of the other. -- Chris |