From 751ec208333f0e2c90f15470741b4fe781a941d8 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Thu, 11 Jul 2024 02:18:51 -0400 Subject: [PATCH] Call Claim.HandlePropertyNotify in copy example --- v2/examples/copy/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/v2/examples/copy/main.go b/v2/examples/copy/main.go index 21726f0..09b8e50 100644 --- a/v2/examples/copy/main.go +++ b/v2/examples/copy/main.go @@ -66,6 +66,7 @@ func main () { // listen for events window.Listen(xproto.EventMaskPropertyChange) + xevent.PropertyNotifyFun(claim.HandlePropertyNotify).Connect(X, window.Id) xevent.SelectionRequestFun(claim.HandleSelectionRequest).Connect(X, window.Id) log.Println("running main event loop")