From b9710f05a9d1e7fd10536b604074baf748fb5bd7 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Sun, 28 Dec 2014 15:08:41 +0100 Subject: Unify WindowBuilder and HeadlessRendererBuilder for easier implementations --- src/x11/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/x11/mod.rs') diff --git a/src/x11/mod.rs b/src/x11/mod.rs index 9ce789f..22184a9 100644 --- a/src/x11/mod.rs +++ b/src/x11/mod.rs @@ -11,3 +11,8 @@ mod headless; #[cfg(feature = "window")] mod window; + +#[cfg(not(feature = "window"))] +pub type Window = (); // TODO: hack to make things work +#[cfg(not(feature = "window"))] +pub type MonitorID = (); // TODO: hack to make things work -- cgit v1.2.3