> Frederik Sausmikat wrote: > > > Danny Parker wrote: > > > >> [...] > >> However, I'm using using Unbuntu Hardy Heron and I have problems with the > >> Gnome panels appearing over many fullscreen applications. > >> > >> This also appears to happen with the fullscreen demo in the FLTK test > >> folder. > >> > >> Does anyone know of a way around this when coding a fullscreen app in > >> FLTK? > > > > Hi, > > > > unfortunately fullscreen handling is somewhat broken in FLTK (at least > > under X) as it tries to simulate fullscreen behaviour (also making bad > > assumptions about the desktop layout) instead of letting the window > > manager handle it, which is fine when dealing with ancient WMs but > > breaks on most newer ones. > > > > Your best bet would be to implement ICCCM window manager hints (see > > <http://standards.freedesktop.org/wm-spec/1.3/>) by yourself. > > Essentially you'll somehow have to pass the `_NET_WM_STATE' property to > > your WM. Unfortunately I have no idea how to do that. > > > > I did file a STR for this some time ago but it soon got closed in a > > somewhat discouraging fashion, so I didn't look further into that. > > > > Regards, > > Freddy > > Take a look at the str2082_wo_str2053.patch found at > <http://www.fltk.org/str.php?L2082> > > The patch sets the _NET_WM_WINDOW_TYPE (dialog and normal currently), but > you should be able to adopt it to set the _NET_WM_STATE. > > If you get fullscreen mode to work using _NET_WM_STATE under X11, perhaps > submit a patch that updates the current fullscreen X11 implementation? > > Cheers, > > -- > Alvin
Thanks. I'll give that a good looking over and see what I can make of it. I'll let you know if anything comes of it. Clay _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

