Clarify doc comments in request.go, claim.go
This commit is contained in:
parent
08ed977234
commit
c8b7059976
3
claim.go
3
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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user