[sushi/wip/cosimoc/no-clutter] mainWindow: remove special check for zero-sized renderer
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi/wip/cosimoc/no-clutter] mainWindow: remove special check for zero-sized renderer
- Date: Sun, 9 Apr 2017 22:13:05 +0000 (UTC)
commit afe1675ce74cc760ff5b0d408022237d295a6d2b
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Apr 9 11:55:42 2017 -0700
mainWindow: remove special check for zero-sized renderer
The spinner was causing this, but now we can just remove it.
src/js/ui/mainWindow.js | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index a5e2dfa..bf5da29 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -164,9 +164,6 @@ const MainWindow = new Lang.Class({
let windowSize = this._renderer.getSizeForAllocation(
[Constants.VIEW_MAX_W, Constants.VIEW_MAX_H]);
- if (windowSize[0] <= 0 || windowSize[1] <= 0)
- return;
-
this.resize(windowSize[0], windowSize[1]);
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]