[PATCH] Add hybrid full-size/empty-clip mode to SetRootClip

Olivier Fourdan ofourdan at redhat.com
Tue Feb 9 15:51:06 UTC 2016


Hi Daniel,

----- Original Message -----
> I'm not a big fan of the Bool -> int -> enum trickery
> but I'm not sure if we could afford to have an enum
> without breaking API/ABI (although I reckoned most compilers
> would use an int for an enum, no?), but if we have no other
> choice then, fine.

What about retaining SetRootClip(ScreenPtr pScreen, Bool enable) and adding a new API to take an enum?

SetRootClip() would then simply call that new API with the right enum.

Dunno, maybe overkill?

Cheers,
Olivier


More information about the xorg-devel mailing list