From 64046b27434c4f5116295d9f6564f6b620703f30 Mon Sep 17 00:00:00 2001 From: amrbashir Date: Wed, 8 Mar 2023 19:55:44 +0200 Subject: [PATCH] fix: fix linux build, missing argument --- src/platform_impl/linux/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform_impl/linux/window.rs b/src/platform_impl/linux/window.rs index c3ac9d265..80878dfe0 100644 --- a/src/platform_impl/linux/window.rs +++ b/src/platform_impl/linux/window.rs @@ -761,7 +761,7 @@ impl Window { #[inline] pub fn cursor_position(&self) -> Result, ExternalError> { - util::cursor_position(self.window.display().backend().is_wayland()) + util::cursor_position(self.is_wayland()) } pub fn current_monitor(&self) -> Option {