summaryrefslogtreecommitdiff
path: root/Eyes.h
AgeCommit message (Collapse)Author
2023-05-28Implement multi-ocular support, add biblical exampleSerge Bazanski
This removes the assumption that an xeyes instance displays just a pair of eyes, and instead allows future developers to implement different kinds of ocular layouts. Currently, the ocular layout system only allows for specifying offsets, but a future change might also make different parts of the eye geometry configurable: size of different elements, padding, etc. Signed-off-by: Serge Bazanski <q3k@q3k.org>
2020-03-29Add support for the 'Present' extension. [v3]Keith Packard
This makes updating the eyes nicely vblank synchronized. v2: Ensure extensions exist before calling query_version These calls add calls to xcb_get_extension_data before calling query_version calls, as those calls will mark the connection with an error if made against an X server without the extension present. Suggested-by: Uli Schlachter <psychon@znc.in> v3: check the 'present' field in the return from xcb_get_extension_data; the xcb_get_extension_data call will always succeed (save for out of memory), the only way to tell if the extension is supported in the target X server is to test the 'present' field in the query extension reply value. Signed-off-by: Keith Packard <keithp@keithp.com>
2010-10-06Purge cvs tags.Jesse Adkins
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
2009-10-05New -distance mapping optionDylan Simon
Distance mapping makes more efficient use of eye space. Signed-off-by: Dylan Simon <dylan@dylex.net> Signed-off-by: James Cloos <cloos@jhcloos.com>
2009-09-27Add xrender supportDylan Simon
Optionally draw all components (except shape) with xrender. Enabled by default. Xlib rendering can be restored by "configure --without-xrender" or "xeyes +render". Signed-off-by: Dylan Simon <dylan@dylex.net> Signed-off-by: James Cloos <cloos@jhcloos.com>
2003-11-14Initial revisionXORG-STABLEKaleb Keithley