How to get a window's height not including the window decoration using xlib

Posted by Kalmi on Stack Overflow See other posts from Stack Overflow or by Kalmi
Published on 2010-05-11T21:24:01Z Indexed on 2010/05/11 21:24 UTC
Read the original article Hit count: 280

Filed under:
|

I need to get the size of a window not including the window decoration.

According to xlib's documentation XGetGeometry should return the "inside size", not including the border. Unfortunately when using compiz or metacity the height returned by XGetGeometry includes the decoration.

© Stack Overflow or respective owner

Related posts about xlib

Related posts about xwindows