node-window-manager icon indicating copy to clipboard operation
node-window-manager copied to clipboard

added getWindowAccurateBounds() using DwmGetWindowAttribute to get window bounds without the drop shadow

Open christopherwk210 opened this issue 1 year ago • 0 comments

I needed to get the bounds of windows, but GetWindowRect includes the drop shadow. This might have it's uses, so I added a new function that makes use of DwmGetWindowAttribute to exclude the shadow.

christopherwk210 avatar Jun 01 '24 17:06 christopherwk210