jwm
jwm copied to clipboard
JWM Does Not Obey Group "y:n" Settings
Although I specify the "y:n" option in a group definition, JWM does not initially display the window in the proper position. The values for height, width, and x (and all others) are, however, as defined.
<Group>
<Name>Navigator</Name>
<Option>desktop:7</Option>
<Option>fixed</Option>
<Option>icon:firefox.png</Option>
<Option>nofocus</Option>
<Option>nolist</Option>
<Option>nomove</Option>
<Option>noclose</Option>
<Option>height:935</Option>
<Option>width:1625</Option>
<Option>x:147</Option>
<Option>y:47</Option>
</Group>
Upon display, xwininfo gives these results:
Absolute upper-left X: 148
Absolute upper-left Y: 80
Relative upper-left X: 1
Relative upper-left Y: 24
Width: 1625
Height: 935
Depth: 24
Visual: 0x83
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x2800002 (installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +148+80 -147+80 -147-65 +148-65
-geometry 1625x935+147+56
I then manually run an aliased wmctrl command -- 'wmctrl -r Firefox -e 0,147,47,1625,935' -- followed by xwininfo, and the results change:
Absolute upper-left X: 148
Absolute upper-left Y: 71
Relative upper-left X: 1
Relative upper-left Y: 24
Width: 1625
Height: 935
Depth: 24
Visual: 0x83
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x2800002 (installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +148+71 -147+71 -147-74 +148-74
-geometry 1625x935+147+47
FWIW, I have two trays, positioned at the top and bottom of the screen -- the top tray height is "34". In WindowStyle, the height as "24".
This behavior holds-true for the other apps I run: Chromium, Thunderbird, and Pidgin.
Bump