On Thu, Feb 04, 2010 at 09:04:43AM -0500, [email protected] wrote: > Thomas Adam <[email protected]> writes: > > > On Wed, Feb 03, 2010 at 04:17:08PM -0800, Suresh Kannan A wrote: > >> I am using KVWM2 window manager and my > > > > Never heard of it. > > Got to be a typo...
Of course. I simply missed the smiley off. :) > >> GUI program is written using QT. When I maximize > >> my window, the windowState() is not set with > >> QT::WindowMaximized. It is always set with QT::WindowNoState. > >> Is there any specific reason for this failure? and > >> How to resolve it?. > > > > Eh? Can you be more specific? > > The little QT I know, I think the application is inquiring > as to it's state and getting back "WindowNoState" instead > of "WindowMaximized". > > I'm not clear on how the window is being maximized, is it > Fvwm initiating the action or the application. Well, I suspect that the application is expecting to find one of: _NET_WM_STATE_MAXIMIZED_VERT or: _NET_WM_STATE_MAXIMIZED_HORZ ... when we maximise the window. Alas, there is no generic _NET_WM_STATE_MAXIMIZED which would be useful -- we only have _NET_WM_STATE_FULLSCREEN which is of course completely different. Furthermore, unless the application explicitly requests a style of either veritical or horizontal maximisation, FVWM won't set it as it (apparently) doesn't make sense to do so for FVWM. -- Thomas Adam -- "It was the cruelest game I've ever played and it's played inside my head." -- "Hush The Warmth", Gorky's Zygotic Mynci.
