Fix x11 EventsLoopProxy::wakeup implementation using a dummy, InputOnly window

This commit is contained in:
mitchmindtree 2017-06-17 22:59:56 +10:00
parent 24d6f8da49
commit df1276d72a
2 changed files with 28 additions and 14 deletions

View file

@ -166,8 +166,7 @@ impl Window {
};
// getting the root window
let root = unsafe { (display.xlib.XDefaultRootWindow)(display.display) };
display.check_errors().expect("Failed to get root window");
let root = ctx.root;
// creating
let mut set_win_attr = {