Can I set desktop margins to limit window resizing?
Can I set desktop margins to limit window resizing?
I'm using wbar and JWM and I'd like to set desktop margins so that when I maximize an application window, wbar doesn't get hidden beneath the window. Can this be done with some desktop parameter or faked in some other way?
fake it with an empty tray
Hi,
I don't know a direct parameter to do this but you can fake this behavior by building an empty tray in jwm,
follow this guide:
http://www.murga-linux.com/puppy/viewtopic.php?t=46829
but use an empty tray, i.e a /root/.jwmrc-tray-top file lie this one:
or if you want to put wbar at the bottom:
tweak the height value at your convenience, if you want to put wbar on the right or on the left, you would have to slightly change the valign, halign parameters, and insert a new one: layout="vertical", look at other jwm paramter in the documentation:
http://joewing.net/programs/jwm/config.shtml
regards,
I don't know a direct parameter to do this but you can fake this behavior by building an empty tray in jwm,
follow this guide:
http://www.murga-linux.com/puppy/viewtopic.php?t=46829
but use an empty tray, i.e a /root/.jwmrc-tray-top file lie this one:
Code: Select all
<JWM>
<Tray autohide="false" insert="right" valign="top" halign="center" border="0" height="40">
</JWM>
Code: Select all
<JWM>
<Tray autohide="false" insert="right" valign="bottom" halign="center" border="0" height="60" layer="9" >
</JWM>
http://joewing.net/programs/jwm/config.shtml
regards,