wayland-pointer: Remove useless initialization
There is no way this value will ever be read, because we set the cursor_surface to NULL, this is set at the same time as cursor_surface, and it's only read if cursor_surface is non-NULL.
This commit is contained in:
parent
e33c58297d
commit
21d7c1a850
@ -200,8 +200,6 @@ meta_wayland_pointer_init (MetaWaylandPointer *pointer,
|
||||
|
||||
pointer->cursor_surface = NULL;
|
||||
pointer->cursor_surface_destroy_listener.notify = pointer_handle_cursor_surface_destroy;
|
||||
pointer->hotspot_x = 16;
|
||||
pointer->hotspot_y = 16;
|
||||
|
||||
pointer->default_grab.interface = &default_pointer_grab_interface;
|
||||
pointer->default_grab.pointer = pointer;
|
||||
|
Loading…
Reference in New Issue
Block a user