fix(ags overview): get the right ref to mainBox in drag action
This commit is contained in:
parent
4e19e5525a
commit
785dbf4bc8
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ export const WindowButton = ({address, ...params} = {}) => Button({
|
|||
});
|
||||
button.connect('drag-end', () => {
|
||||
button.get_parent().destroy();
|
||||
let mainBox = getWindow('overview').child.child;
|
||||
let mainBox = getWindow('overview').child.children[0].child;
|
||||
mainBox._updateClients(mainBox);
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue