From: Tony H. <h...@re...> - 2004-08-04 22:04:32
|
In <200...@re...>, Tony Houghton wrote: > I can't convince the metacity developers that it's common sense not to > apply a window's strut to itself and that the spec doesn't say that > docks are the only sort of window that shouldn't be subject to struts. > It looks like there is a way round that though, because we can use > _NET_WM_TYPE_DOCK all the time and override the keep-on-top side-effect > by turning _NET_WM_STATE_BELOW off and on to raise and lower it. > > See > <http://freedesktop.org/Standards/wm-spec/1.3/ar01s07.html#STACKINGORDER>. > > I haven't looked at the auto-raising code lately, but this change might > actually make it simpler. So I propose using that in future. Shall I > write a patch or do you want to do it yourself, Thomas? I've had a go at this and it seems to be working correctly with sawfish (but ironically not metacity, which seems to ignore _NET_WM_STATE_BELOW being changed and won't raise the panel) but OroboROX doesn't fully support _NET_WM_STATE_BELOW. It sets it if the win_layer is BELOW, but doesn't set win_layer to BELOW in response to _NET_WM_STATE. Jonatan, do you know what needs to be changed for that to work? I think I'm getting a bit out of my depth. -- TH * http://www.realh.co.uk |