Re: Gnome session mgmt vs WindowMaker-gnome session mgmt (Debian Potato)



> 
> As I understand it, all the Window Manager has to go on when is restoring
> windows is the title of the window, and its class.  So what happens if,
> for example, I make a session aware app that has multiple instances open
> on different workspaces, but with identical titles?  How does the Window
> Manager know which one to put where?  I am not being difficult - I would
> honestly like to know how I am supposed to code this.

I think each window has a name and a title, the title is displayed, but the name hidden, containing maybe more data. Take a look at Eterm + irc themes for example, the title changes for different irc servers but the window manager knows to handle it the same each time. (probably a bad example)

I'm not 100% sure about this so keep the flame throwers at ease :)

-- 
-----------------------------------------------------------------------------
Sarel Botha          |     Computer &           | +27 341 81341
(sjb@dundee.lia.net) |        Accounting        | BOX 2065, Dundee
                     |           Services       | 3000, South Africa
-----------------------------------------------------------------------------
 "The End is near." -- http://www.geocities.com/Athens/Olympus/7771/666.htm
-----------------------------------------------------------------------------



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