mirror of
https://github.com/brl/mutter.git
synced 2025-02-22 16:04:09 +00:00

Add clutter_backend_get_n_screens(), which returns the number of screens manager by the ClutterBackend, and change clutter_backend_get_screen_number() to return the screen number of the currently used screen; this is semantically equivalent to clutter_glx_get_default_screen(), but leaves the door open for a "screen" abstraction in Clutter, handled by the backend. Update the GLX and EGL backends to retrieve and set the screen_num and n_screens members of ClutterBackend using Xlib calls.