summaryrefslogtreecommitdiff
path: root/src/xrandr.c
AgeCommit message (Collapse)Author
2017-09-18Actually xrandr.name can be a simple char *Jérémie Courrèges-Anglas
2017-09-18Move #ifdef HAVE_XRANDR in xrandr.cJérémie Courrèges-Anglas
- always build xrandr.c - provide stubs in xrandr.c; only init_xrandr() anc xrandr_fill_screen() are safe to call if XRandR support is not built in Code that wants to use XRandR outside xrandr.c should test rp_have_xrandr.
2017-09-18Swap argument and return value of xrandr_query_screenJérémie Courrèges-Anglas
Leads to clearer code in screen.c
2016-12-08Add primary screen detectionMathieu OTHACEHE
The user may specify that a screen is primary with xrandr. Save this information in ratpoison for future use. The use of XRRGetOutputPrimary forces us to bump xrandr supported revision from >=1.2 to >=1.3.
2016-11-24Kill gcc unused function warningMathieu OTHACEHE
The xrandr_rotation_string function is used only if DEBUG is enabled.
2016-11-23Fix rotations when using xrandrJérémie Courrèges-Anglas
2016-11-23Kill superflous var.Jérémie Courrèges-Anglas
2016-11-23Sprinkle more debug in xrandr code.Jérémie Courrèges-Anglas
2016-11-21Only use xrandr if Xrandr init succeedsJérémie Courrèges-Anglas
2016-11-17Add xrandr supportMathieu OTHACEHE
Drop deprecated xinerama support and replace it with xrandr. Signed-off-by: Mathieu OTHACEHE <m.othacehe@gmail.com>