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

Add XRRGetMonitors binding #42

Merged
merged 2 commits into from
Mar 31, 2021
Merged

Conversation

jokogr
Copy link
Contributor

@jokogr jokogr commented Feb 26, 2016

RandR 1.5 adds a nice function to get information on active monitors.

I have managed to write a small test which shows that the pulled code works correctly. However, I'm not so familiar with FFI, I have just repeated the logic I saw in other functions, so please review it with caution.

@pjones
Copy link
Contributor

pjones commented Dec 14, 2016

@jokogr Please rebase this to master and get travis building and I will do a code review. Thanks.

@jokogr jokogr force-pushed the add-xrrGetMonitors branch from 61493f3 to d0f9d94 Compare December 31, 2016 13:13
@jokogr
Copy link
Contributor Author

jokogr commented Dec 31, 2016

@pjones I have pushed a new version which removes the XFree() call as done in previous commits, but I still have to fix Travis. The code is compiling and working on my own machine.

Unfortunately, XRandR v1.5 has only made it officially since Ubuntu 16.04 (Xenial Xerus). Travis currently supports Ubuntu 12.04 and 14.04 (the latter in beta), both of which have a lower version of 1.5.

Let me know what you want me to do: I could keep this open until Travis gets Ubuntu 16.04 or higher, or close it and open a new PR in the future.

@pjones
Copy link
Contributor

pjones commented Jan 12, 2017

Let's leave this PR open for now.

Let's see where XRandR and Travis are when we get ready for the next X11 release.

@jokogr jokogr force-pushed the add-xrrGetMonitors branch from d0f9d94 to 951ceab Compare December 13, 2017 10:22
@jokogr jokogr force-pushed the add-xrrGetMonitors branch 3 times, most recently from 80d03cb to 3f47c1b Compare December 13, 2017 11:07
@jokogr jokogr force-pushed the add-xrrGetMonitors branch from 3f47c1b to 3c8f540 Compare December 13, 2017 13:03
Copy link
Contributor

@peti peti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please re-base this PR relative to a current version of master. Your changes to .travis-ci are probably no longer necessary.

@liskin liskin mentioned this pull request Feb 14, 2021
@liskin liskin added this to the v0.10 milestone Mar 27, 2021
@liskin liskin merged commit 75b2330 into xmonad:master Mar 31, 2021
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.

4 participants