Add support for giving up the selection, forcibly and voluntarily
This commit is contained in:
@@ -68,6 +68,7 @@ func main () {
|
||||
window.Listen(xproto.EventMaskPropertyChange)
|
||||
xevent.PropertyNotifyFun(claim.HandlePropertyNotify).Connect(X, window.Id)
|
||||
xevent.SelectionRequestFun(claim.HandleSelectionRequest).Connect(X, window.Id)
|
||||
xevent.SelectionClearFun(claim.HandleSelectionClear).Connect(X, window.Id)
|
||||
|
||||
log.Println("running main event loop")
|
||||
xevent.Main(X)
|
||||
|
||||
Reference in New Issue
Block a user