mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
Create standalone public wayland client/server headers
Because the wayland-client-protocol.h header defines symbols that collide with the wayland-server-protocol.h header we allow applications to explicitly ensure that they are only including one at a time by exposing corresponding <cogl/cogl-wayland-client.h> and <cogl/cogl-wayland-server.h> headers. This also adds a missing guard to cogl-texture-2d.h that it isn't included directly. Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
@ -34,10 +34,6 @@
|
||||
#include <windows.h>
|
||||
#endif /* COGL_HAS_WIN32_SUPPORT */
|
||||
|
||||
#if defined (COGL_HAS_EGL_PLATFORM_WAYLAND_SUPPORT)
|
||||
#include <wayland-client.h>
|
||||
#endif /* COGL_HAS_EGL_PLATFORM_WAYLAND_SUPPORT */
|
||||
|
||||
#ifdef COGL_ENABLE_EXPERIMENTAL_2_0_API
|
||||
#include <cogl/cogl2-path.h>
|
||||
#else
|
||||
|
Reference in New Issue
Block a user