mirror of
https://github.com/brl/mutter.git
synced 2025-02-09 10:04:08 +00:00
![Emmanuele Bassi](/assets/img/avatar_default.png)
Since we access it in order to get the X11 Display pointer, it makes sense to have the ClutterBackendX11 already available inside the ClutterStageX11 structure, and avoid the pattern: ClutterBackend *backend = clutter_get_default_backend (); ClutterBackendX11 *backend_x11 = CLUTTER_BACKEND_X11 (backend); which costs us a function call, a type cast and an unused variable.