xsr
xsr copied to clipboard
Don't rely on window's focused state
For example, scrot -u
uses this.
Storing window ID (windows: root 0x... event 0x... child 0x...) is needed, but unfortunately it comes only after flags.
Fix proposal: Commit recording separately, on receiving new events (if anything staled)