Don't pass an (out) argument to meta_window_get_outer_rect()
Mutter now has the needed (out) annotation, so we have to use the return value instead of passing a reference to a rectangle.
This commit is contained in:
parent
b9eca84d34
commit
43d479c786
@ -881,8 +881,7 @@ Workspace.prototype = {
|
|||||||
|
|
||||||
xCenter = xCenter * global.screen_width;
|
xCenter = xCenter * global.screen_width;
|
||||||
|
|
||||||
let rect = new Meta.Rectangle();
|
let rect = metaWindow.get_outer_rect();
|
||||||
metaWindow.get_outer_rect(rect);
|
|
||||||
let buttonOuterHeight, captionHeight;
|
let buttonOuterHeight, captionHeight;
|
||||||
let buttonOuterWidth = 0;
|
let buttonOuterWidth = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user