(no title)
bsnnkv | 3 months ago
My guess is that kAXWindowMovedNotification, kAXWindowResizedNotification, kAXMainWindowChangedNotification etc. are being listened to on the currently focused window using the Accessibility framework, and there is a callback which gets the latest position of the tracked window whenever it is fired, and uses that position as a reference to update the border position
The border window itself is most likely an NSWindow, which is why the tracking of the border with the target window feels quite sluggish
tylerhall|3 months ago
bsnnkv|3 months ago
Angostura|3 months ago
inatreecrown2|3 months ago