display window geometry (position, size) while resizing or moving

2015-09-29 Thread Robert Fleming
Anyone know of a way to display a window's geometry (e.g. 80x24 characters
or 400x300 pixels) while the user is resizing/moving the window?

Here's FVWM doing it:
http://imgur.com/hu6rFrC

twm and Openbox also do it.

Thanks,
Robert


Re: display window geometry (position, size) while resizing or moving

2015-09-29 Thread Robert Fleming
Ah OK thanks for the quick reply!

Could register a function to a signal (awesome 3.4) to get this info
rendered into the screen as the mouse is moving around?
screen[mouse.screen].geometry=> returned a table with key "x" "y"
"width" "height"

if c is a client object, then
c:geometry() => returned a table which structure is described above

On 09/29/2015 03:53 PM, Robert Fleming wrote:

> Anyone know of a way to display a window's geometry (e.g. 80x24 characters
> or 400x300 pixels) while the user is resizing/moving the window?
>
> Here's FVWM doing it:
> http://imgur.com/hu6rFrC
>
> twm and Openbox also do it.
>
> Thanks,
> Robert
>