mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 14:51: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