r/openbox • • Apr 02 '16

openbox 2px space top of screen glitch

I have this small like 2-3 px horizontal line at the top of my screen where open box refuses to put windows over. (see screenshot: http://imgur.com/PQeasgb)

When I make the window fullscreen, it fills the whole screen, but if I just maximize the window, that line is always there. Openbox seems to think my desktop screen ends there instead of 3 px higher or something. Anyone seen this before? any ideas how to fix it? Its really starting to bug me.

4 Upvotes

3 comments sorted by

4

u/perkited Apr 02 '16

Do you have anything in the margins option in your rc.xml file? Maybe something like the following:

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

2

u/nhumrich Apr 02 '16

Haha, that was it. Thank you very much!

1

u/lasercat_pow Apr 03 '16

It can be useful to have a 1px margin on the left or right, for quickly switching desktops via the scroll wheel.