Bug 5179 - Per-application position assumes window decoration.
Status: RESOLVED FIXED
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: unspecified
Hardware: PC Linux
: P1 minor
Assignee: Dana Jansens
QA Contact:
URL:
: 5120 5187
Depends on:
Blocks:
 
Reported: 2011-08-14 08:12 EDT by M8R-aici9i
Modified: 2011-11-11 13:36:00 EST
2 users (show)

See Also:



Description M8R-aici9i 2011-08-14 08:12:58 EDT
The following entry in <applications> in rc.xml does not position the window correctly:

<application name="foo">
  <decor>no</decor>
  <position force="yes">
    <x>0</x>
    <y>-0</y>
  </position>
</application>

A gap is left between the window and the bottom of the screen. The gap is exactly the size added by the window decoration and positioning works correctly if the window is decorated.

This appears to be a regression in Openbox 3.5.
Comment 1 M8R-aici9i 2011-08-14 08:28:10 EDT
I've just noticed that this affects positive positions as well. I had tested this in urxvtq (quake-like urxvt terminal) and so I didn't notice the gap at the top.

Incidentally, this can be worked around by using positions such as "+-17" or "--17".
Comment 2 Dana Jansens 2011-08-30 11:41:21 EDT
Thanks will look at it.
Comment 3 Dana Jansens 2011-08-30 12:32:50 EDT
*** Bug 5120 has been marked as a duplicate of this bug. ***
Comment 4 Dana Jansens 2011-10-14 18:59:37 EDT
commited a fix for this to my git work branch.
Comment 5 Dana Jansens 2011-11-11 13:36:00 EST
*** Bug 5187 has been marked as a duplicate of this bug. ***