NewClaim, NewRequest can return an error

This commit is contained in:
2024-07-11 02:12:53 -04:00
parent 36b3e4f0ed
commit 781d1436a4
4 changed files with 13 additions and 10 deletions

View File

@@ -79,7 +79,7 @@ func main () {
log.Println("creating request")
clipboard, _ := xprop.Atm(X, "CLIPBOARD")
property, _ := xprop.Atm(X, "DESTINATION")
request := xgbsel.NewRequest (
request, _ := xgbsel.NewRequest (
requestor { window: window },
clipboard,
property)