Skip to content

Commit

Permalink
Remove unused display member in InputMethodV1
Browse files Browse the repository at this point in the history
  • Loading branch information
tarek-y-ismail committed Dec 12, 2024
1 parent 4a33849 commit 23fc847
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/server/frontend_wayland/input_method_v1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,6 @@ mf::InputPanelV1::InputPanelV1(
OutputManager* const output_manager,
std::shared_ptr<scene::TextInputHub> const text_input_hub)
: Global(display, Version<1>()),
display{display},
wayland_executor{wayland_executor},
shell{shell},
seat{seat},
Expand All @@ -594,4 +593,4 @@ void mf::InputPanelV1::bind(wl_resource *new_resource)
new_resource,
text_input_hub
};
}
}
3 changes: 1 addition & 2 deletions src/server/frontend_wayland/input_method_v1.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<Executor> const wayland_executor;
std::shared_ptr<shell::Shell> const shell;
WlSeat* seat;
Expand All @@ -83,4 +82,4 @@ class InputPanelV1 : public wayland::InputPanelV1::Global
}
}

#endif
#endif

0 comments on commit 23fc847

Please sign in to comment.