Whitespace cleanup only
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5097 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/java/com/tigervnc/rfb/CMsgWriterV3.java b/java/com/tigervnc/rfb/CMsgWriterV3.java
index a730698..10c377a 100644
--- a/java/com/tigervnc/rfb/CMsgWriterV3.java
+++ b/java/com/tigervnc/rfb/CMsgWriterV3.java
@@ -1,17 +1,17 @@
/* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved.
* Copyright 2009-2011 Pierre Ossman for Cendio AB
* Copyright (C) 2011 Brian P. Hinz
- *
+ *
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this software; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
@@ -45,16 +45,16 @@
{
if (!cp.supportsSetDesktopSize)
throw new Exception("Server does not support SetDesktopSize");
-
+
startMsg(MsgTypes.msgTypeSetDesktopSize);
os.pad(1);
-
+
os.writeU16(width);
os.writeU16(height);
-
+
os.writeU8(layout.num_screens());
os.pad(1);
-
+
for (Iterator<Screen> iter = layout.screens.iterator(); iter.hasNext(); ) {
Screen refScreen = (Screen)iter.next();
os.writeU32(refScreen.id);
@@ -64,7 +64,7 @@
os.writeU16(refScreen.dimensions.height());
os.writeU32(refScreen.flags);
}
-
+
endMsg();
}
@@ -76,33 +76,33 @@
throw new Exception("Too large fence payload");
if ((flags & ~fenceTypes.fenceFlagsSupported) != 0)
throw new Exception("Unknown fence flags");
-
+
startMsg(MsgTypes.msgTypeClientFence);
os.pad(3);
-
+
os.writeU32(flags);
-
+
os.writeU8(len);
os.writeBytes(data, 0, len);
-
+
endMsg();
}
-
+
synchronized public void writeEnableContinuousUpdates(boolean enable,
int x, int y, int w, int h)
{
if (!cp.supportsContinuousUpdates)
throw new Exception("Server does not support continuous updates");
-
+
startMsg(MsgTypes.msgTypeEnableContinuousUpdates);
-
+
os.writeU8((enable?1:0));
-
+
os.writeU16(x);
os.writeU16(y);
os.writeU16(w);
os.writeU16(h);
-
+
endMsg();
}
}