Correct window creation on X11

This commit is contained in:
Pierre Krieger 2015-07-19 13:53:40 +02:00
parent 896640f2e0
commit baf9b92d3f
8 changed files with 297 additions and 213 deletions

View file

@ -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),