You are not logged in.

#1 2010-06-11 06:32:21

Loafers
Member
Registered: 2009-11-01
Posts: 92

Maximizing Window Doesn't use Panel as a Border

I use openbox and tint2.  When I maximize a window such as firefox, it ignores the panel and maximizes beyond the panel resulting in the bottom of the browser to be cut off.  Is there a way for openbox to recognize the panel as a border and maximize accordingly?

Offline

#2 2010-06-11 06:47:36

Google
Member
From: Mountain View, California
Registered: 2010-05-31
Posts: 484
Website

Re: Maximizing Window Doesn't use Panel as a Border

I have the opposite problem. I want to ignore the panel so I can go beyond it.

edit:

I use LXDE and OpenBox.

Last edited by Google (2010-06-11 06:47:59)

Offline

#3 2010-06-11 12:28:22

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Maximizing Window Doesn't use Panel as a Border

You two could swap machines smile

Offline

#4 2010-06-11 12:32:44

null
Member
Registered: 2009-05-06
Posts: 398

Re: Maximizing Window Doesn't use Panel as a Border

Loafers wrote:

I use openbox and tint2.  When I maximize a window such as firefox, it ignores the panel and maximizes beyond the panel resulting in the bottom of the browser to be cut off.  Is there a way for openbox to recognize the panel as a border and maximize accordingly?

use the openbox margins. i don't know what u have to write in ur rc.xml but you can configure them with obconf


edit: there is the option for rc.xml:

  <margins>
    <top>18</top>
    <bottom>16</bottom>
    <left>1</left>
    <right>1</right>
  </margins>

is already there so just edit the the margins (in px) that they cover ur panel


edit2:
@ google:
maybe it helps if you use the  <layer>below</layer> option for your panel in the rc.xml

Last edited by null (2010-06-11 12:49:21)

Offline

#5 2010-06-11 13:35:59

kaizoku
Member
Registered: 2009-01-09
Posts: 62

Re: Maximizing Window Doesn't use Panel as a Border

Right click the panel, Panel Settings, Advanced, Check both in properties.

Offline

#6 2010-06-11 14:08:50

Google
Member
From: Mountain View, California
Registered: 2010-05-31
Posts: 484
Website

Re: Maximizing Window Doesn't use Panel as a Border

Thanks adding 'below' helped my windows float over the panel, but there is a minor annoyance. When I have a window over the panel and then I click the panel, the panel comes back above the windows.

Is there a way to add 'always on bottom' ?

Offline

#7 2010-06-11 14:13:24

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Maximizing Window Doesn't use Panel as a Border

Google wrote:

Thanks adding 'below' helped my windows float over the panel, but there is a minor annoyance. When I have a window over the panel and then I click the panel, the panel comes back above the windows.

Is there a way to add 'always on bottom' ?

That is the "always below" option.. It works on regular apps here, they stay below others also after giving them focus or clicking on them.

Offline

#8 2010-06-11 14:16:00

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Maximizing Window Doesn't use Panel as a Border

Offline

#9 2010-06-11 14:16:45

Google
Member
From: Mountain View, California
Registered: 2010-05-31
Posts: 484
Website

Re: Maximizing Window Doesn't use Panel as a Border

The panel gets to come on top if I click on the panel, is there another option that may be in conflict with the 'bottom' option?

Offline

#10 2010-06-12 10:58:11

thil77
Member
Registered: 2008-08-29
Posts: 52

Re: Maximizing Window Doesn't use Panel as a Border

with AUR version of tint2 you can manage all case with :

panel_layer = bottom,normal,top
strut_policy = follow_size/minimum/none
autohide_height = integer

maximized window never cover tint2:

panel_layer = top
strut_policy = follow_size

should solved your problem.

maximized window are behind tint2:

panel_layer = top
strut_policy = none

maximized window are behind tint2, but leave 2 pixels free so you can use desktop action (right click, ...):

panel_layer = top
strut_policy = minimum
autohide_height = 2

Offline

#11 2010-06-12 13:11:37

vi3dr0
Member
From: Poland
Registered: 2009-03-22
Posts: 208

Re: Maximizing Window Doesn't use Panel as a Border

Ramses de Norre wrote:

You two could swap machines smile

Hilarious big_smile


Thinkpad T61p : T7700 | 4GB RAM | nVidia FX 570M | Intel 4965
Arch64 @ Openbox

Offline

Board footer

Powered by FluxBB