xwayland: don't transmute setup data to 'static
This commit is contained in:
parent
555bd0a1bc
commit
498e01a8bb
3 changed files with 8 additions and 12 deletions
|
|
@ -304,7 +304,7 @@ impl Wm {
|
|||
nf.insert(atoms._NET_WM_WINDOW_TYPE_UTILITY);
|
||||
nf
|
||||
};
|
||||
let root = c.setup().screens[0].root;
|
||||
let root = c.root_window();
|
||||
{
|
||||
let events = 0
|
||||
| EVENT_MASK_SUBSTRUCTURE_NOTIFY
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue