[gtk+] broadway: Fix indentation
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] broadway: Fix indentation
- Date: Mon, 1 Oct 2012 13:02:26 +0000 (UTC)
commit 203dd8bf7ad250f69006a5a46f140debaee6c7a3
Author: Alexander Larsson <alexl redhat com>
Date: Mon Oct 1 11:50:54 2012 +0200
broadway: Fix indentation
gdk/broadway/broadway.js | 44 ++++++++++++++++++++++----------------------
1 files changed, 22 insertions(+), 22 deletions(-)
---
diff --git a/gdk/broadway/broadway.js b/gdk/broadway/broadway.js
index a5e30c1..bd519d0 100644
--- a/gdk/broadway/broadway.js
+++ b/gdk/broadway/broadway.js
@@ -2788,30 +2788,30 @@ function connect()
ws = newWS (loc);
}
- ws.onopen = function() {
- inputSocket = ws;
- var w, h;
- if (useToplevelWindows) {
- w = window.screen.width;
- h = window.screen.height;
- } else {
+ ws.onopen = function() {
+ inputSocket = ws;
+ var w, h;
+ if (useToplevelWindows) {
+ w = window.screen.width;
+ h = window.screen.height;
+ } else {
+ w = window.innerWidth;
+ h = window.innerHeight;
+ window.onresize = function(ev) {
+ var w, h;
w = window.innerWidth;
h = window.innerHeight;
- window.onresize = function(ev) {
- var w, h;
- w = window.innerWidth;
- h = window.innerHeight;
- sendInput ("d", [w, h]);
- };
- }
- sendInput ("d", [w, h]);
- };
- ws.onclose = function() {
- inputSocket = null;
- };
- ws.onmessage = function(event) {
- handleMessage(event.data);
- };
+ sendInput ("d", [w, h]);
+ };
+ }
+ sendInput ("d", [w, h]);
+ };
+ ws.onclose = function() {
+ inputSocket = null;
+ };
+ ws.onmessage = function(event) {
+ handleMessage(event.data);
+ };
setupDocument(document);
window.onunload = function (ev) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]