From ad60d7123b8cefd2a3d24b4bbc662765b5da1060 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 30 May 2024 13:32:32 +0200 Subject: [PATCH] Revert "wayland: Add meta_wayland_seat_get_input_focus_client() call" This reverts commit 743fb6df30f3bc6210dd5020a4ae609869dccde8. Part-of: --- src/wayland/meta-wayland-seat.c | 9 --------- src/wayland/meta-wayland-seat.h | 2 -- 2 files changed, 11 deletions(-) diff --git a/src/wayland/meta-wayland-seat.c b/src/wayland/meta-wayland-seat.c index d8eb1eab1..2301e0068 100644 --- a/src/wayland/meta-wayland-seat.c +++ b/src/wayland/meta-wayland-seat.c @@ -721,12 +721,3 @@ meta_wayland_seat_get_current_surface (MetaWaylandSeat *seat, return NULL; } - -struct wl_client * -meta_wayland_seat_get_input_focus_client (MetaWaylandSeat *seat) -{ - if (seat->input_focus) - return wl_resource_get_client (seat->input_focus->resource); - else - return NULL; -} diff --git a/src/wayland/meta-wayland-seat.h b/src/wayland/meta-wayland-seat.h index 169a92e4e..83fd7de1e 100644 --- a/src/wayland/meta-wayland-seat.h +++ b/src/wayland/meta-wayland-seat.h @@ -98,5 +98,3 @@ MetaWaylandInput * meta_wayland_seat_get_input (MetaWaylandSeat *seat); MetaWaylandSurface * meta_wayland_seat_get_current_surface (MetaWaylandSeat *seat, ClutterInputDevice *device, ClutterEventSequence *sequence); - -struct wl_client * meta_wayland_seat_get_input_focus_client (MetaWaylandSeat *seat);