Outdated egg!
This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for the CHICKEN 5 version of this egg, if it exists.
If it does not exist, there may be equivalent functionality provided by another egg; have a look at the egg index. Otherwise, please consider porting this egg to the current version of CHICKEN.
xinerama
TOC »
Description
Basic bindings for Xinerama.
For bug reports, feature requests, and development versions, visit the github project page.
Authors
- John J Foerch
Requirements
Chicken Eggs
C Headers
- Xinerama.h
API
- xinerama-query-extension displayprocedure
- xinerama-query-versionprocedure
- xinerama-active? displayprocedure
- xinerama-query-screens displayprocedure
- xinerama-screen-info? xprocedure
Examples
(use xinerama xlib) (define xdisplay (xopendisplay #f)) (when (xinerama-active? xdisplay) (for-each (lambda (screen) (printf "~A ~A ~A ~A ~A~%" (xinerama-screen-info-screen-number screen) (xinerama-screen-info-x-org screen) (xinerama-screen-info-y-org screen) (xinerama-screen-info-width screen) (xinerama-screen-info-height screen))) (xinerama-query-screens xdisplay)))
License
BSD
Version History
- 1.0.0 (2017-06-04) initial release
- 1.0.1 (2017-06-04) fix typo
- 1.0.2 (2017-06-05) trivial fixes and changes