The status return values always have been int (directly corresponding to X11 protocol reply status values, as defined in X.h). Seems that back about 2 decades ago, somebody started converting them to their own type, unfortunately just very inconsequently in a few places, which isn't very helpful. It would have been different if done everywhere in the whole Xserver, but doing so would be a bigger task. Therefore, for consistency, just dropping this here and just use 'int', what all the rest of the Xserver code, as well as X11 protocol headers and Xlib are doing. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> |
||
---|---|---|
.. | ||
kdrive | ||
vfb | ||
xfree86 | ||
xnest | ||
xquartz | ||
xwayland | ||
xwin | ||
meson.build |