[gnome-shell] st-widget: Use clutter_input_device_get_actor() to get pointer actor
- From: verdre <jonasd src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] st-widget: Use clutter_input_device_get_actor() to get pointer actor
- Date: Tue, 16 Jun 2020 11:03:10 +0000 (UTC)
commit dd8e1aef5164b4860e0078c6e7c3c979e7396a16
Author: Jonas Dreßler <verdre v0yd nl>
Date: Thu Apr 11 22:32:56 2019 +0200
st-widget: Use clutter_input_device_get_actor() to get pointer actor
Use clutter_input_device_get_actor() since it replaces
clutter_input_device_get_pointer_actor().
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1285
src/st/st-widget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/st/st-widget.c b/src/st/st-widget.c
index 0ad93c32db..615d5e4772 100644
--- a/src/st/st-widget.c
+++ b/src/st/st-widget.c
@@ -1903,7 +1903,7 @@ st_widget_sync_hover (StWidget *widget)
seat = clutter_backend_get_default_seat (clutter_get_default_backend ());
pointer = clutter_seat_get_pointer (seat);
- pointer_actor = clutter_input_device_get_pointer_actor (pointer);
+ pointer_actor = clutter_input_device_get_actor (pointer, NULL);
if (pointer_actor && clutter_actor_get_reactive (CLUTTER_ACTOR (widget)))
st_widget_set_hover (widget, clutter_actor_contains (CLUTTER_ACTOR (widget), pointer_actor));
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]