From 03b667fcdfb2556c822fae190626735fe3eda7cd Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Thu, 11 Jul 2024 02:17:10 -0400 Subject: [PATCH] Add HandlePropertyNotify to Claim --- v2/claim.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/v2/claim.go b/v2/claim.go index b024cdd..ab46b80 100644 --- a/v2/claim.go +++ b/v2/claim.go @@ -174,3 +174,13 @@ func (claim *Claim) HandleSelectionRequest ( claim.fulfillSelectionRequest(data, 8, event.Target, event) } } + +// While the selection claim is active, HandlePropertyNotify should be called +// when the requesting window recieves a PropertyNotify event. This must be +// registered as an event handler manually. +func (claim *Claim) HandlePropertyNotify ( + connection *xgbutil.XUtil, + event xevent.PropertyNotifyEvent, +) { + // TODO +}