Use MetaWindow.get_frame_rect()
get_outer_rect() has been deprecated for a while, use the new function instead.
This commit is contained in:
@ -1019,7 +1019,7 @@ const Panel = new Lang.Class({
|
||||
if (!dragWindow)
|
||||
return Clutter.EVENT_PROPAGATE;
|
||||
|
||||
let rect = dragWindow.get_outer_rect();
|
||||
let rect = dragWindow.get_frame_rect();
|
||||
let [stageX, stageY] = event.get_coords();
|
||||
|
||||
let allowDrag = dragWindow.maximized_vertically &&
|
||||
|
Reference in New Issue
Block a user