[mutter/wip/carlosg/clutter-seat: 60/69] core: Replace ClutterDeviceManager usage in favor of ClutterSeat
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/clutter-seat: 60/69] core: Replace ClutterDeviceManager usage in favor of ClutterSeat
- Date: Wed, 16 Oct 2019 15:52:51 +0000 (UTC)
commit f954c4facfb2abfa8958eebf2dbcdcc87886a51c
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Oct 4 14:02:53 2019 +0200
core: Replace ClutterDeviceManager usage in favor of ClutterSeat
https://gitlab.gnome.org/GNOME/mutter/merge_requests/852
src/core/window.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 850ee21cc..25309b31a 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -8106,12 +8106,12 @@ mouse_mode_focus (MetaWindow *window,
static gboolean
window_has_pointer_wayland (MetaWindow *window)
{
- ClutterDeviceManager *dm;
+ ClutterSeat *seat;
ClutterInputDevice *dev;
ClutterActor *pointer_actor, *window_actor;
- dm = clutter_device_manager_get_default ();
- dev = clutter_device_manager_get_core_device (dm, CLUTTER_POINTER_DEVICE);
+ seat = clutter_backend_get_default_seat (clutter_get_default_backend ());
+ dev = clutter_seat_get_pointer (seat);
pointer_actor = clutter_input_device_get_pointer_actor (dev);
window_actor = CLUTTER_ACTOR (meta_window_get_compositor_private (window));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]