mirror of
https://github.com/brl/mutter.git
synced 2024-12-28 05:42:14 +00:00
cogl: include <cogl/cogl-xlib.h> for xlib specific symbols
Since Xlib.h is such a terrible citizen when it comes to symbol namespacing it's not desirable to include Xlib.h if it is not absolutely required. Cogl now has a standalone cogl-xlib.h that should be included whenever any xlib specific symbols are required. This patch updates clutter to include <cogl/cogl-xlib.h> wherever clutter needs to use xlib specific cogl apis. Acked-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
parent
0bfda78615
commit
6e28121ff3
@ -55,6 +55,8 @@
|
||||
#include "clutter-cex100.h"
|
||||
#endif
|
||||
|
||||
#include <cogl/cogl-xlib.h>
|
||||
|
||||
static ClutterBackendCogl *backend_singleton = NULL;
|
||||
|
||||
static gchar *clutter_vblank = NULL;
|
||||
|
@ -59,6 +59,7 @@
|
||||
#endif
|
||||
|
||||
#include <cogl/cogl.h>
|
||||
#include <cogl/cogl-xlib.h>
|
||||
|
||||
#include "clutter-backend.h"
|
||||
#include "clutter-debug.h"
|
||||
|
Loading…
Reference in New Issue
Block a user