[openbox] Gnome 3 shell
openboxml023478 at rainslide.net
Thu May 24 19:50:44 EDT 2012
On Thursday, 24 May, 2012 at 12:52:03 BST, Johan Vromans wrote:
>The 'modern' Gnome panel (actually, the Gnome3 fallback panel) is
>hardwired to occupy the top and bottom 32 pixels. A window mapped at
>0+0 will therefore be obscured for 32 pixels by the top panel.
Correct. Just as if you had told xterm to appear at 0x0, and Firefox to appear at 0x0, they all appear at 0x0, because that is where you are telling them to appear. Those co-ordinates are absolute, not relative. The new window will be obscured by the panel because the panel is probably set to the top X layer. You could try setting the new window's layer element in rc.xml, see if that overrides the panel.
>Is there a way to have openbox exclude these areas?
>I tried setting the top and bottom margins:
>but windows mapped to 0+0 will still appear at the real top edge.
That's right, because that's where you are telling them to appear. What you really want to tell them is to open at 0x32, for example. The margin element is for windows that open according to the placement element. Telling a window to open at a particular position overrides that.
>Well, I can set the panels to autohide, which is a start.
>But why do the <margins> settings not work?
They do; you just think they're something that they're not.
More information about the openbox