From ecbc8770c6aa9c2d68bf932f9dfa5dc8956bc8d1 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 30 May 2013 09:21:35 -0400
Subject: [PATCH] Fix unintentional compose window resize (#1489114)

---
 program/js/app.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index d58a8f4..0561add 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3021,7 +3021,8 @@
     }
     else {
       this.redirect(url);
-      window.resizeTo(Math.max(1150, $(window).width()), Math.max(900, $(window).height()));
+      if (this.env.extwin)
+        window.resizeTo(Math.max(1150, $(window).width()), Math.max(900, $(window).height()));
     }
   };
 

--
Gitblit v1.9.1