Skip to content

fix name clash on 'GC' between Xlib and Xserver

Enrico Weigelt requested to merge metux/xserver:submit/xnest-gcrec into master

Both xlib as well as the Xserver use the same identifier "GC" for different types. While on xlib it's just the numerical ID of a GC, the xserver defines a struct for it by the same name. This is this ugly and needs ridiculous hacks for Xserver code that needs xlib.

Easy to solve by just renaming the GC typedef to GCRec (consistent with how we're naming other structs) and replacing GC* by GCPtr.

Signed-off-by: Enrico Weigelt, metux IT consult

Merge request reports