On Web, never return a MonitorHandle (#3051)

This commit is contained in:
daxpedda
2023-08-26 18:56:44 +02:00
committed by GitHub
parent 48abf52aac
commit a3cba838ea
7 changed files with 20 additions and 32 deletions

View File

@@ -746,7 +746,7 @@ impl<T> EventLoopWindowTarget<T> {
}
pub fn primary_monitor(&self) -> Option<MonitorHandle> {
Some(MonitorHandle)
None
}
pub fn raw_display_handle(&self) -> RawDisplayHandle {