Closed tonsky closed 2 years ago
at least on Linux Mint Cinnamon, the top-left corner can even go negative - XGetWindowAttributes doesn't give the actual decoration size. _NET_FRAME_EXTENTS seems to give proper ones though, will look into it
XGetWindowAttributes
_NET_FRAME_EXTENTS