[PATCH wayland-protocols v2 02/13] xdg-shell: Rename interfaces

Philipp Kerling pkerling at casix.org
Fri Jun 30 06:48:58 UTC 2017


Hi,

Am Freitag, den 30.06.2017, 13:50 +0800 schrieb Jonas Ã…dahl:
> Rename the interfaces according to the wayland-protocols policy.
> Since
> the name 'xdg_shell' as an interface was already taken (by
> xdg-shell-unstable-v5) zxdg_shell_v6 was renamed xdg_wm_base. The
> surface role related interfaces were not renamed, as naming collision
> is only unmanagable when exposed as globals via the registry.
What about clients that want to support both xdg_shell (unstable v5)
and xdg_wm_base? Won't they have a problem with
   A. clashing type/function/macro names in the header files generated by
      wayland-scanner, at least when they are including both headers in
      one file?
   B. clashing interface global names (e.g. "xdg_toplevel_interface") at
      link time even when they do not include both headers at the same
      time?

Regards
Philipp


More information about the wayland-devel mailing list