Commit 0c72a550 authored by Petri Hintukainen's avatar Petri Hintukainen

Reduce logging

Do not log "ERROR: setBounds(0,0,1920,1080) FAILED: already visible" if
window size was already correct.
parent cda2af16
......@@ -67,7 +67,7 @@ public class BDRootWindow extends Frame {
}
}
super.setBounds(x, y, width, height);
} else {
} else if (width != getWidth() || height != getHeight()){
logger.error("setBounds(" + x + "," + y + "," + width + "," + height + ") FAILED: already visible");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment