From c8b70599764598225853e15751f8a833e2b0d115 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Fri, 5 Jul 2024 23:31:33 -0400 Subject: [PATCH] Clarify doc comments in request.go, claim.go --- claim.go | 3 ++- request.go | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/claim.go b/claim.go index 0b82124..5e4bf23 100644 --- a/claim.go +++ b/claim.go @@ -102,7 +102,8 @@ func (claim *Claim) fulfillSelectionRequest ( } // While the selection claim is active, HandleSelectionRequest should be called -// when the owner window recieves a SelectionRequest event. +// when the owner window recieves a SelectionRequest event. This must be +// registered as an event handler manually. func (claim *Claim) HandleSelectionRequest ( connection *xgbutil.XUtil, event xevent.SelectionRequestEvent, diff --git a/request.go b/request.go index 8c507e5..dbcc618 100644 --- a/request.go +++ b/request.go @@ -106,7 +106,8 @@ func (request *Request) open () bool { } // While the selection request is active, HandleSelectionNotify should be called -// when the requesting window recieves a SelectionNotify event. +// when the requesting window recieves a SelectionNotify event. This must be +// registered as an event handler manually. func (request *Request) HandleSelectionNotify ( connection *xgbutil.XUtil, event xevent.SelectionNotifyEvent, @@ -237,7 +238,8 @@ func (request *Request) HandleSelectionNotify ( } // While the selection request is active, HandlePropertyNotify should be called -// when the requesting window recieves a PropertyNotify event. +// when the requesting window recieves a PropertyNotify event. This must be +// registered as an event handler manually. func (request *Request) HandlePropertyNotify ( connection *xgbutil.XUtil, event xevent.PropertyNotifyEvent,