Call Claim.HandlePropertyNotify in copy example

This commit is contained in:
Sasha Koshka 2024-07-11 02:18:51 -04:00
parent 03b667fcdf
commit 751ec20833

View File

@ -66,6 +66,7 @@ func main () {
// listen for events // listen for events
window.Listen(xproto.EventMaskPropertyChange) window.Listen(xproto.EventMaskPropertyChange)
xevent.PropertyNotifyFun(claim.HandlePropertyNotify).Connect(X, window.Id)
xevent.SelectionRequestFun(claim.HandleSelectionRequest).Connect(X, window.Id) xevent.SelectionRequestFun(claim.HandleSelectionRequest).Connect(X, window.Id)
log.Println("running main event loop") log.Println("running main event loop")