diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-07-19 15:04:51 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-07-19 15:04:51 +0200 |
commit | d838ff7d441928ef3ac9fdd8b002ed13fb545f02 (patch) | |
tree | 48d7597056b9af0becdcd5105369040a7f7a502e /src/lib.rs | |
parent | 3ab8b68631aefa4b2e3de0646a90bca3fb697366 (diff) | |
parent | baf9b92d3f8a62c6a10d2ea1506e262597e70ac9 (diff) | |
download | glutin-d838ff7d441928ef3ac9fdd8b002ed13fb545f02.tar.gz glutin-d838ff7d441928ef3ac9fdd8b002ed13fb545f02.zip |
Merge pull request #527 from tomaka/split-glx
Correct window creation on X11
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -323,6 +323,7 @@ pub struct PixelFormat { /// Attributes // FIXME: remove `pub` (https://github.com/rust-lang/rust/issues/23585) +#[derive(Clone)] #[doc(hidden)] pub struct BuilderAttribs<'a> { #[allow(dead_code)] @@ -471,7 +472,7 @@ impl<'a> BuilderAttribs<'a> { mod native_monitor { /// Native platform identifier for a monitor. Different platforms use fundamentally different types /// to represent a monitor ID. - #[derive(PartialEq, Eq)] + #[derive(Clone, PartialEq, Eq)] pub enum NativeMonitorId { /// Cocoa and X11 use a numeric identifier to represent a monitor. Numeric(u32), |