Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xrandr fixes #72

Merged
merged 2 commits into from
Mar 31, 2021
Merged

Xrandr fixes #72

merged 2 commits into from
Mar 31, 2021

Conversation

liskin
Copy link
Member

@liskin liskin commented Feb 1, 2021

Fix type of xrrUpdateConfiguration

XRRUpdateConfiguration takes XEvent* so it should be XEventPtr. There's
no good way to get XEvent anyway.

Fix bottom when deserializing XRRNotifyEvent in getEvent

This would crash any program that does

xrrSelectInput dpy root rrCrtcChangeNotifyMask

and later calls getEvent on the received event.

liskin added 2 commits March 31, 2021 12:15
XRRUpdateConfiguration takes XEvent* so it should be XEventPtr. There's
no good way to get XEvent anyway.
This would crash any program that does

    xrrSelectInput dpy root rrCrtcChangeNotifyMask

and later calls getEvent on the received event.
@liskin liskin merged commit 2d14adc into xmonad:master Mar 31, 2021
@liskin liskin deleted the pr/randr-fixes branch March 31, 2021 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant