cogl/renderer: Expose handle_event
As it was originally the function to be used before making it private and providing safer wrappers around it for x11/win32. Nowadays, it is only used in x11 and only internally in mutter, exposing a 'safer' variant costs us exposing more of x11 renderer APIs without much benefits. With this change, the only internal xlib renderer we need from meta is set_foreign_display which can't be easily worked around Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3910>
This commit is contained in:

committed by
Marge Bot

parent
b07c772fc8
commit
a9ec604eba
@ -59,8 +59,8 @@ meta_backend_x11_handle_event (MetaBackend *backend,
|
||||
|
||||
allocated_event = XGetEventData (xdisplay, &xevent->xcookie);
|
||||
|
||||
if (cogl_xlib_renderer_handle_event (clutter_backend->cogl_renderer,
|
||||
xevent) == COGL_FILTER_REMOVE)
|
||||
if (cogl_renderer_handle_event (clutter_backend->cogl_renderer,
|
||||
xevent) == COGL_FILTER_REMOVE)
|
||||
goto out;
|
||||
|
||||
stage_x11 =
|
||||
|
Reference in New Issue
Block a user