On Sun, Oct 26, 2003 at 11:30:36AM +0000, Mikhael Goikhman wrote: > On 26 Oct 2003 09:10:56 -0200, [EMAIL PROTECTED] wrote: > > > > When using fbpanel (a light-weight desktop panel) > > with FVWM, I want to restrict the working area to > > the full visible screen except for the screen area > > used by fbpanel, which is placed at the bottom and > > has a height of 26 pixels. [...] > > but it is not working. Placement and maximation of > > windows is not respecting the working area set > > with the command EwmhBaseStruts. > > Using EwmhBaseStruts. Works in 2.5.5+. Maybe it does not work for you on > restarts because you placed it in InitFunction instead StartFunction?
I am running FVWM 2.5.7 and I am still having problems with windows covering the fbpanel window, even with the EwmhBaseStruts command. The command I use for maximizing windows is 'Maximize layer grow grow'. As I said, maximized windows are getting beyound the working area. New windows may get placed beyound the working area too, when the screen has few empty areas. The placement style I am using is "MinOverlapPlacement". I want no window over the fbpanel window. I have tried setting the layer for fbpanel, but it did not worked. I have the command "Style "fbpanel" StaysOnTop" in my configuration file, but fbpanel is still put in layer 4: $ xprop | grep -i layer _WIN_LAYER(CARDINAL) = 4 > You may place this command in the top level, not in a function, and > specify the exact geometry for fbpanel. I tried that, but I did not find a way of starting fbpanel with a given geometry. The program does not accept a "-g" or "-geometry" option. It supports placement at one of screen edges (left, right, top, bottom), chosen at its configuration file. This is not a solution because fbpanel without a user specified geometry obeys the working area. > Or, if you for some reason need > this particular command order, use this: > > AddToFunc StartFunction > + I None (fbpanel) Exec fbpanel > + I None (fbpanel) Wait fbpanel > + I EwmhBaseStruts 0 0 0 26 I had to add the CirculateHit condition to the None commands, otherwise it does not match the fbpanel window. Any clues? Romildo -- Visit the official FVWM web page at <URL: http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]