Bug 4372 - NET_WORKAREA has wrong value
Status: RESOLVED DUPLICATE of bug 4332
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: 3.4.7.2
Hardware: PC Linux
: P3 major
Assignee: Dana Jansens
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2009-12-08 11:59 EST by Dmitry
Modified: 2009-12-08 12:19:41 EST
1 user (show)

See Also:



Description Dmitry 2009-12-08 11:59:48 EST
I'm using 3.4.7.2 verion of Openbox in Debian Lenny. Screen has been configured to be 1280x1024. I have two panels on the desktop - at the top of the screen (80 pixels height) and at the bottom (96 pixels height). Both panels are DOCKs and use STRUTs. According to fd.o, 

"The Window Manager SHOULD calculate this space by taking the current page minus space occupied by dock and panel windows, as indicated by the _NET_WM_STRUT or _NET_WM_STRUT_PARTIAL properties set on client windows."

As a result, NET_WORKAREA must have the following geometry: x=0, y=80 w=1280, h=848 (1024-80-96). But it has wrong geometry: x=0, y=80 w=1280, h=944 (1024-80). As you can see, the size of bottom panel is not counted. It blocks getting right geometry of the desktop.
Comment 1 Mikachu 2009-12-08 12:19:41 EST
.

*** This bug has been marked as a duplicate of bug 4332 ***