Sed pass restricted to files outside src/backend/x11 and outside *_x11.c — i.e. all code that should not depend on X11 typedefs. Window → WNativeWindow (existing typedef in WMEvent.h) Atom → WMNativeAtom Pixmap → WMNativePixmap Cursor → WMNativeCursor Drawable → WMDrawable (existing typedef) KeySym → WMNativeKeysym Colormap → WMNativeColormap X11 backend files keep using the original Xlib type names because they make Xlib API calls that take those types. All typedefs are ultimately 'unsigned long' so values pass through opaquely between shared code and the backend. Public WINGs API affected: WMSelectionCallback, WMSelectionProcs, and a handful of widget signatures that took Atom/Window arguments now take WMNativeAtom/WNativeWindow. Source-compatible at the binary level; consumers must rebuild. Time and XID typedefs left for a follow-up — both are heavily used in field/variable names that need careful auditing. Display* and GC stay in W_Screen for now; phase δ moves them into an X11-only sub-struct. |
||
|---|---|---|
| .. | ||
| .deps | ||
| Makefile.am | ||
| tableview.c | ||
| wtabledelegates.c | ||
| wtabledelegates.h | ||
| wtableview.c | ||
| wtableview.h | ||