mutter/src
Carlos Garnacho eda7588190 backends: Replace MetaCursorSprite::prepare-at with in-place function
Since this signal is in a hot path during input handling, it makes sense
not to have this be a signal at all, currently most of the time spent in
it is in GLib signal machinery itself.

Replace it with a function/user data pair that are set on the sprite
itself. Only the places that create an sprite are interested in hooking
one ::prepare-at behavior per sprite, so we can do with a single pair.

This makes meta_cursor_sprite_prepare_at() inexpensive enough.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1915>
2021-12-07 20:04:08 +00:00
..
backends backends: Replace MetaCursorSprite::prepare-at with in-place function 2021-12-07 20:04:08 +00:00
compositor cogl: Remove cogl_texture_new_with_size 2021-12-07 15:32:21 +00:00
core backends: Replace MetaCursorSprite::prepare-at with in-place function 2021-12-07 20:04:08 +00:00
meta Add method to show if in headless mode 2021-12-07 16:03:10 +00:00
tests tests: Ensure pointer entered the stage at actor-event-hold test 2021-12-07 20:04:08 +00:00
ui frames: Keep accounting of double clicks in place 2021-10-29 00:27:18 +02:00
wayland backends: Replace MetaCursorSprite::prepare-at with in-place function 2021-12-07 20:04:08 +00:00
x11 x11: Initialize struct early 2021-10-27 14:12:35 +02:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build Move D-Bus interface files to dedicated directory 2021-12-07 18:52:29 +00:00
meta-private-enum-types.c.in core: Drop "volatile" from static GTypes in manual registration 2021-03-22 10:47:51 +00:00
meta-private-enum-types.h.in screen-cast: Add screen cast flag to streams 2020-07-30 09:51:16 +02:00