I kept the XGetWindowAttributes as a fallback for if _NET_FRAME_EXTENTS fails. Not sure if that, or just giving zeroes is better. Can't find what x/y of XGetWindowAttributes is supposed to do, but on my system it gives numbers unrelated to anything as far as I can tell.
I kept the
XGetWindowAttributes
as a fallback for if_NET_FRAME_EXTENTS
fails. Not sure if that, or just giving zeroes is better. Can't find what x/y ofXGetWindowAttributes
is supposed to do, but on my system it gives numbers unrelated to anything as far as I can tell.Fixes #144, #109