wayland: don't store direct output references
This commit is contained in:
parent
0605438d56
commit
4651f760f0
13 changed files with 123 additions and 65 deletions
|
|
@ -321,7 +321,7 @@ impl XdgToplevelRequestHandler for XdgToplevel {
|
|||
self.states.borrow_mut().insert(STATE_FULLSCREEN);
|
||||
'set_fullscreen: {
|
||||
let output = if req.output.is_some() {
|
||||
match client.lookup(req.output)?.global.node.get() {
|
||||
match client.lookup(req.output)?.global.node() {
|
||||
Some(node) => node,
|
||||
_ => {
|
||||
log::error!("Output global has no node attached");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue