From 23fc84772a7bcd90f347e6dd6c673012e419eba1 Mon Sep 17 00:00:00 2001 From: Tarek Ismail Date: Thu, 12 Dec 2024 10:37:09 +0200 Subject: [PATCH] Remove unused `display` member in `InputMethodV1` --- src/server/frontend_wayland/input_method_v1.cpp | 3 +-- src/server/frontend_wayland/input_method_v1.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/server/frontend_wayland/input_method_v1.cpp b/src/server/frontend_wayland/input_method_v1.cpp index 579a282bcfe..9d500db3f42 100644 --- a/src/server/frontend_wayland/input_method_v1.cpp +++ b/src/server/frontend_wayland/input_method_v1.cpp @@ -576,7 +576,6 @@ mf::InputPanelV1::InputPanelV1( OutputManager* const output_manager, std::shared_ptr const text_input_hub) : Global(display, Version<1>()), - display{display}, wayland_executor{wayland_executor}, shell{shell}, seat{seat}, @@ -594,4 +593,4 @@ void mf::InputPanelV1::bind(wl_resource *new_resource) new_resource, text_input_hub }; -} \ No newline at end of file +} diff --git a/src/server/frontend_wayland/input_method_v1.h b/src/server/frontend_wayland/input_method_v1.h index 75b1c357a3c..b4555fbee54 100644 --- a/src/server/frontend_wayland/input_method_v1.h +++ b/src/server/frontend_wayland/input_method_v1.h @@ -72,7 +72,6 @@ class InputPanelV1 : public wayland::InputPanelV1::Global class Instance; void bind(wl_resource* new_zwp_input_panel_v1) override; - wl_display* display; std::shared_ptr const wayland_executor; std::shared_ptr const shell; WlSeat* seat; @@ -83,4 +82,4 @@ class InputPanelV1 : public wayland::InputPanelV1::Global } } -#endif \ No newline at end of file +#endif