Fix x11 EventsLoopProxy::wakeup implementation using a dummy, InputOnly window
This commit is contained in:
parent
24d6f8da49
commit
df1276d72a
2 changed files with 28 additions and 14 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue