Discussion:
FVWM: Meaning of the right-hand field of the popup window list
Sian Mountbatten
2013-01-15 06:54:53 UTC
Permalink
Can anybody explain the meaning of the numbers of the last field.

For example: 0(4):0x-425+68+0

I reckon that it means:
(a) Initial zero: desk number
(b) (4) ???
(c) 0x-425: width x height. So how can a window have zero width and
negative height?
(d) +68+0: +xpos+ypos. That is, the position of the top-left hand
corner of the window.

Could anybody confirm and explain zero width and negative height?

Sincerely
--
Sian Mountbatten
Specialisto pri Algol 68
Thomas Funk
2013-01-15 08:47:38 UTC
Permalink
Post by Sian Mountbatten
Can anybody explain the meaning of the numbers of the last field.
http://www.fvwm.org/doc/unstable/commands/WindowList.html

"The format of the geometry part is: desk(layer): x-geometry sticky,
where desk and layer are the corresponding numbers and sticky is empty
or a capital S. The geometry of iconified windows is shown in
parentheses."

Hope this helps.

Regards,
Thomas
Sian Mountbatten
2013-01-15 08:52:57 UTC
Permalink
Post by Thomas Funk
Post by Sian Mountbatten
Can anybody explain the meaning of the numbers of the last field.
http://www.fvwm.org/doc/unstable/commands/WindowList.html
"The format of the geometry part is: desk(layer): x-geometry sticky,
where desk and layer are the corresponding numbers and sticky is empty
or a capital S. The geometry of iconified windows is shown in
parentheses."
Hope this helps.
Regards,
Thomas
It does, thank you Thomas. But how can a window have negative height and
zero width?
I may say that the windows in the list shown with negative height are
shaded. Does that
affect the geometry?

Regards
--
Sian Mountbatten
Specialisto pri Algol 68
Thomas Adam
2013-01-15 09:00:37 UTC
Permalink
On 15 January 2013 08:52, Sian Mountbatten > It does, thank you
Thomas. But how can a window have negative height and
Post by Sian Mountbatten
zero width?
I may say that the windows in the list shown with negative height are
shaded. Does that
affect the geometry?
Because the geometry of a window includes its *position*.

-- Thomas Adam
Sian Mountbatten
2013-01-15 09:01:21 UTC
Permalink
Post by Thomas Adam
On 15 January 2013 08:52, Sian Mountbatten > It does, thank you
Thomas. But how can a window have negative height and
Post by Sian Mountbatten
zero width?
I may say that the windows in the list shown with negative height are
shaded. Does that
affect the geometry?
Because the geometry of a window includes its *position*.
-- Thomas Adam
Yes, I understand that, but its size is definitely NOT its position.
--
Sian Mountbatten
Specialisto pri Algol 68
Thomas Adam
2013-01-15 09:14:51 UTC
Permalink
Post by Sian Mountbatten
Post by Thomas Adam
On 15 January 2013 08:52, Sian Mountbatten > It does, thank you
Thomas. But how can a window have negative height and
Post by Sian Mountbatten
zero width?
I may say that the windows in the list shown with negative height are
shaded. Does that
affect the geometry?
Because the geometry of a window includes its *position*.
-- Thomas Adam
Yes, I understand that, but its size is definitely NOT its position.
The bug is that windowlist.c knows nothing of shaded windows when
reporting their geometry.

Will commit a fix for this in a bit unless someone else does it first.

-- Thomas Adam
Thomas Adam
2013-01-15 09:18:18 UTC
Permalink
Post by Sian Mountbatten
Yes, I understand that, but its size is definitely NOT its position.
The bug is that windowlist.c knows nothing of shaded windows when
reporting their geometry.
Will commit a fix for this in a bit unless someone else does it first.
-- Thomas Adam
Ok, but that doesn't explain the negative height and zero width. Where does
that come from?
The *actual* size of the window.

-- Thomas Adam

Loading...