mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +11:00
Derive Clone for MonitorId
This commit is contained in:
parent
4202c35786
commit
24f5b0b591
|
@ -349,6 +349,7 @@ pub fn get_primary_monitor() -> MonitorId {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Identifier for a monitor.
|
/// Identifier for a monitor.
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct MonitorId(platform::MonitorId);
|
pub struct MonitorId(platform::MonitorId);
|
||||||
|
|
||||||
impl MonitorId {
|
impl MonitorId {
|
||||||
|
|
Loading…
Reference in a new issue