We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb80fba commit da93e02Copy full SHA for da93e02
1 file changed
src/x11.go
@@ -86,7 +86,7 @@ func readXAuthority(displayNum, xauthorityPath string) (string, []byte, error) {
86
return "", nil, err
87
}
88
89
- if family == 256 &&
+ if (family == 0 || family == 256) &&
90
display == displayNum &&
91
name == "MIT-MAGIC-COOKIE-1" {
92
return name, []byte(authData), nil
0 commit comments