Draft for monitor API
This commit is contained in:
parent
6133e17b9a
commit
d824fb94db
5 changed files with 12 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use {Event, Hints};
|
||||
use {Event, Hints, MonitorID};
|
||||
use libc;
|
||||
use std::{mem, ptr};
|
||||
use std::sync::atomics::AtomicBool;
|
||||
|
|
@ -14,7 +14,7 @@ pub struct Window {
|
|||
}
|
||||
|
||||
impl Window {
|
||||
pub fn new(dimensions: Option<(uint, uint)>, title: &str, hints: &Hints)
|
||||
pub fn new(dimensions: Option<(uint, uint)>, title: &str, hints: &Hints, _: Option<MonitorID>)
|
||||
-> Result<Window, String>
|
||||
{
|
||||
// calling XOpenDisplay
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue