Clarify doc comments in request.go, claim.go

This commit is contained in:
Sasha Koshka 2024-07-05 23:31:33 -04:00
parent 08ed977234
commit c8b7059976
2 changed files with 6 additions and 3 deletions

View File

@ -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,

View File

@ -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,