forked from enlightenment/enlightenment
8441520030
Summary: Many of the functions in the compositor do some preliminary checks, to ensure objects are valid and the right type. Most of the checks follow a consistent pattern, for example: if (!(ec = data)) return; if (e_object_is_del(E_OBJECT(ec))) return; if (ec->iconic) return; This style makes it pretty straightforward to review the pre-conditions of the function. The one exception is the check to see if an object is a wayland pixmap; this is implemented as a C macro. E_COMP_WL_PIXMAP_CHECK; The name of the macro is descriptive enough, but it conceals what is actually being checked. I think that it is clearer and fits better with the style of the rest of the pre-condition checks for this check to just be shown as regular C code: if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) return; Reviewers: zmike, cedric, devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2066 |
||
---|---|---|
config | ||
data | ||
doc | ||
m4 | ||
pkgbuild | ||
po | ||
src | ||
.arcconfig | ||
.gitignore | ||
.mailmap | ||
AUTHORS | ||
BUGS | ||
COPYING | ||
ChangeLog | ||
INSTALL | ||
Makefile.am | ||
NEWS | ||
README | ||
README.wayland | ||
autogen.sh | ||
configure.ac | ||
e19_workdir_setup.sh | ||
enlightenment.pc.in | ||
enlightenment.spec.in | ||
netwm.txt | ||
x-ui.sh | ||
xdebug.sh |
README
Enlightenment 0.19.0 Requirements: ------------- Must: efl elementary libc libm libX11 libXext xcb xcb-shape xcb-keysyms Heavily suggested: evas_generic_loaders (all loaders) NOTE: Users of DR16 will need to rename the $prefix/bin/enlightenment file prior to installing DR19 or it will be overwritten. You can also use the configure --prefix option to put enlightenment in a separate tree of its own (recommended) like: ./configure --prefix=/usr/local/e19 You will, as usual, need to add the subsequent bin dir to your $PATH etc. NOTES: * if you do not want security issues make sure sysactions.conf is in /etc/enlightenment (not PREFIX/etc/enlightenment) as this is the first place it looks at. This file is intended to be customized by packagers and system integrators to match your policies and scripts/tools.