summaryrefslogtreecommitdiff
path: root/clutter/clutter-backend-private.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2015-12-11 15:41:35 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2015-12-11 15:53:24 +0000
commite9b5eb3045d335b6ebbfc7443076754447447065 (patch)
tree9619e94700a86d4c085b523a35e9959480948b48 /clutter/clutter-backend-private.h
parentcc31ed77bda37d2739fdc3137cb15eda51605c7b (diff)
downloadclutter-e9b5eb3045d335b6ebbfc7443076754447447065.tar.gz
Allow setting the default backend from the configuration file
We should allow a configuration file to set up the initial state of the global state, which also implies being able to set the backend. If the allowed backends have already been set programmatically via the clutter_set_windowing_backend(), though, then the application code takes precedence, as we assume that the application author knows better than us what their code supports or requires.
Diffstat (limited to 'clutter/clutter-backend-private.h')
-rw-r--r--clutter/clutter-backend-private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clutter/clutter-backend-private.h b/clutter/clutter-backend-private.h
index eb44941da..a2b729c2e 100644
--- a/clutter/clutter-backend-private.h
+++ b/clutter/clutter-backend-private.h
@@ -155,6 +155,8 @@ void _clutter_backend_reset_cogl_framebuffer (Clutter
void clutter_set_allowed_drivers (const char *drivers);
+void clutter_try_set_windowing_backend (const char *drivers);
+
G_END_DECLS
#endif /* __CLUTTER_BACKEND_PRIVATE_H__ */