Linux: Update XGetMainDisplay to avoid receiving Invalid MIT-MAGIC-COOKIE-1 key
#27
Labels
enhancement
New feature or request
Invalid MIT-MAGIC-COOKIE-1 key
#27
Short overview
Update
XGetMainDisplay
to avoid receivingInvalid MIT-MAGIC-COOKIE-1 key
Detailed description
The root cause of this problem is
XGetMainDisplay
trying to initially open display:0.0
which is not guaranteed to work.A solution to this could be to keep the display name configurable but to default to
$DISPLAY
.See https://tronche.com/gui/x/xlib/display/opening.html for reference.
The text was updated successfully, but these errors were encountered: