aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/display/window.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty/src/display/window.rs')
-rw-r--r--alacritty/src/display/window.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/alacritty/src/display/window.rs b/alacritty/src/display/window.rs
index b500e8f2..1bd3525a 100644
--- a/alacritty/src/display/window.rs
+++ b/alacritty/src/display/window.rs
@@ -400,16 +400,6 @@ impl Window {
}
#[cfg(all(feature = "wayland", not(any(target_os = "macos", windows))))]
- pub fn wayland_display(&self) -> Option<*mut std::ffi::c_void> {
- self.window().wayland_display()
- }
-
- #[cfg(not(any(feature = "wayland", target_os = "macos", windows)))]
- pub fn wayland_display(&self) -> Option<*mut std::ffi::c_void> {
- None
- }
-
- #[cfg(all(feature = "wayland", not(any(target_os = "macos", windows))))]
pub fn wayland_surface(&self) -> Option<&Attached<WlSurface>> {
self.wayland_surface.as_ref()
}