[PATCH xserver 1/2] xwayland: Move sprite invalidation logic into mipointer

Keith Packard keithp at keithp.com
Sun May 29 18:45:42 UTC 2016

Emil Velikov <emil.l.velikov at gmail.com> writes:

>  - Seems like the exports from mi/ are remnants from the separate
> (non-builtin) extmod days.
> Not 100% sure though. Can anyone please shed some light ?

_X_EXPORT is intended to mark the boundary between 'internal' bits of
the server and 'public' bits. So even when not using modules which
require actual symbol table stuff, it's useful to describe what
constitutes this interface.

Things marked _X_EXPORT are likely to be used by code which you are not
running, so changes to them need to be reviewed by people with an eye
towards preserving compatibility or (at least) catching errors at
compile time. Interfaces not marked _X_EXPORT are only used within the
"core server", and so can be changed without as much regard to potential
incompatibility issues.

In this particular case, the function in question is used by a piece of
code run in a very specialized environment (Xwayland), so I wanted to
note that it was part of this special class of functions.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20160529/43535fc0/attachment.sig>

More information about the xorg-devel mailing list