broadway: Remove leftover cruft that caused resize to fail

getTransientToplevel() doesn't exist anymore so this broke.
This commit is contained in:
Alexander Larsson 2013-03-28 17:38:01 +01:00
parent e9906138e5
commit 0129876ed3

View File

@ -496,12 +496,6 @@ function cmdMoveResizeSurface(id, has_pos, x, y, has_size, w, h)
var xOffset = surface.x;
var yOffset = surface.y;
var transientToplevel = getTransientToplevel(surface);
if (transientToplevel) {
xOffset = surface.x - transientToplevel.x;
yOffset = surface.y - transientToplevel.y;
}
var element = surface.canvas;
if (surface.frame) {
element = surface.frame;