set_surface_scale


Description:

public void set_surface_scale (int scale)

Forces a specific window scale for all windows on this display, instead of using the default or user configured scale.

This is can be used to disable scaling support by setting scale to 1, or to programmatically set the window scale.

Once the scale is set by this call it will not change in response to later user configuration changes.

Parameters:

this

the display

scale

The new scale value