Skip to content

Xutil.h: declare XEmptyRegion() and XEqualRegion() as Bool

For consistency with Xlib manuals (https://www.x.org/releases/current/doc/man/man3/XEmptyRegion.3.xhtml), and as already used for XPointInRegion(). This change should be purely cosmetic since Bool is defined as int: https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/libX11-1.8.6/include/X11/Xlib.h#L82

Maybe similar changes should also be made in src/Region.c, which currently makes no use of Bool.

Merge request reports

Loading