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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 {