Method

GdkX11X11Displayset_window_scale

since: 3.10

Declaration [src]

void
gdk_x11_display_set_window_scale (
  GdkDisplay* display,
  gint scale
)

Description [src]

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.

Available since: 3.10

Parameters

scale

Type: gint

The new scale value.