You are not logged in.

#1 2015-01-22 21:11:32

Headless
Member
Registered: 2015-01-22
Posts: 1

Openbox margins on dual monitor setup

Hello.

I have two monitors connect to my computer and both of them have resolution "1920x1080". My xrandr setup looks like this:

xrandr --output DVI-1 --mode 1920x1080 --rate 144.00 --output DVI-0 --mode 1920x1080 --rate 60.00 --left-of DVI-1

I have specified the following in my rc.conf file:

<margins>
    <top>20</top>
    <bottom>0</bottom>
    <left>0</left>
    <right>0</right>
 </margins>

So I have a margin of 20 pixel at the top of the screens. This is because I have a panel like conky that sits on the right monitor at the top.
I have specified the option "own_window_type desktop" in my conkyrc and it works perfectly. I can't maximize windows over the conky "panel". The margin option blocks of the 20 pixel area at the top.

Now my problem with this is that I just want this margin option on one of my monitors/screens, my right monitor. So I want to be able to maximize windows on the left monitor/screen but not on the right one were conky is at.

Here is a screenshot demonstrating the issue: http://i.imgur.com/7grmmJV.png

Thanks.

Offline

Board footer

Powered by FluxBB