set_frame_sync_enabled


Description:

public void set_frame_sync_enabled (bool frame_sync_enabled)

This function can be used to disable frame synchronization for a surface.

Normally frame synchronziation will be enabled or disabled based on whether the system has a compositor that supports frame synchronization, but if the surface is not directly managed by the window manager, then frame synchronziation may need to be disabled. This is the case for a surface embedded via the XEMBED protocol.

Parameters:

this

a native `GdkSurface`

frame_sync_enabled

whether frame-synchronization should be enabled