public int getOptimalResolution() {
        return optimalResolution;
    }
Returns the resolution of the screen if the optimal width and height are
used, in DPI.

@return The optimal screen resolution.
guacamole-common/src/main/java/org/apache/guacamole/protocol/GuacamoleClientInformation.java