[gtk+] broadway: Remove leftover cruft that caused resize to fail
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] broadway: Remove leftover cruft that caused resize to fail
- Date: Fri, 29 Mar 2013 13:02:50 +0000 (UTC)
commit 0129876ed35f515c08b606af25086315ae57a854
Author: Alexander Larsson <alexl redhat com>
Date: Thu Mar 28 17:38:01 2013 +0100
broadway: Remove leftover cruft that caused resize to fail
getTransientToplevel() doesn't exist anymore so this broke.
gdk/broadway/broadway.js | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/gdk/broadway/broadway.js b/gdk/broadway/broadway.js
index a53f837..fb4cffe 100644
--- a/gdk/broadway/broadway.js
+++ b/gdk/broadway/broadway.js
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]