mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
wayland-pointer: Drop a phony signal disconnect
cursor_sprite_prepare_at() is never connected to a MetaCursorTracker signal. https://bugzilla.gnome.org/show_bug.cgi?id=763159
This commit is contained in:
parent
ca1b4382c0
commit
c380f2e03f
@ -1318,11 +1318,6 @@ cursor_surface_role_dispose (GObject *object)
|
|||||||
meta_wayland_surface_role_get_surface (META_WAYLAND_SURFACE_ROLE (object));
|
meta_wayland_surface_role_get_surface (META_WAYLAND_SURFACE_ROLE (object));
|
||||||
MetaWaylandCompositor *compositor = meta_wayland_compositor_get_default ();
|
MetaWaylandCompositor *compositor = meta_wayland_compositor_get_default ();
|
||||||
MetaWaylandPointer *pointer = &compositor->seat->pointer;
|
MetaWaylandPointer *pointer = &compositor->seat->pointer;
|
||||||
MetaCursorTracker *cursor_tracker = meta_cursor_tracker_get_for_screen (NULL);
|
|
||||||
|
|
||||||
g_signal_handlers_disconnect_by_func (cursor_tracker,
|
|
||||||
(gpointer) cursor_sprite_prepare_at,
|
|
||||||
cursor_role);
|
|
||||||
|
|
||||||
if (pointer->cursor_surface == surface)
|
if (pointer->cursor_surface == surface)
|
||||||
pointer->cursor_surface = NULL;
|
pointer->cursor_surface = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user