On Web, never return a MonitorHandle (#3051)
This commit is contained in:
parent
48abf52aac
commit
a3cba838ea
7 changed files with 20 additions and 32 deletions
|
|
@ -355,7 +355,7 @@ impl<T> EventLoopWindowTarget<T> {
|
|||
///
|
||||
/// ## Platform-specific
|
||||
///
|
||||
/// **Wayland:** Always returns `None`.
|
||||
/// **Wayland / Web:** Always returns `None`.
|
||||
#[inline]
|
||||
pub fn primary_monitor(&self) -> Option<MonitorHandle> {
|
||||
self.p
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue