mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
f6ae9decaa
Instead of having cogl_renderer_xlib_add_filter and friends there is now cogl_renderer_add_native_filter which can be used regardless of the backend. The callback function for the filter now just takes a void pointer instead of an XEvent pointer which should be interpreted differently depending on the backend. For example, on Xlib it would still be an XEvent but on Windows it could be a MSG. This simplifies the code somewhat because the _cogl_xlib_add_filter no longer needs to have its own filter list when a stub renderer is used because there is always a renderer available. cogl_renderer_xlib_handle_event has also been renamed to cogl_renderer_handle_native_event. This just forwards the event on to all of the listeners. The backend renderer is expected to register its own event filter if it wants to process the events in some way. |
||
---|---|---|
build/autotools | ||
cogl | ||
doc | ||
pango | ||
po | ||
autogen.sh | ||
configure.ac | ||
Makefile.am |