Skip to content
Snippets Groups Projects
Commit adba1c0a authored by Richard Alam's avatar Richard Alam
Browse files

- init scaleW and scaleH to captureW and captureH in the applet

parent 8c470a31
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -52,8 +52,13 @@ public class DeskShareApplet extends Applet implements ClientListener {
xValue = Integer.parseInt(getParameter("X"));
yValue = Integer.parseInt(getParameter("Y"));
sWidthValue = cWidthValue;
String scaleWidth = getParameter("SCALE_WIDTH");
if (scaleWidth != null) sWidthValue = Integer.parseInt(scaleWidth);
if (scaleWidth != null) {
sWidthValue = Integer.parseInt(scaleWidth);
}
sHeightValue = cHeightValue;
String scaleHeight = getParameter("SCALE_HEIGHT");
if (scaleHeight != null) sHeightValue = Integer.parseInt(scaleHeight);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment