X Sync Extension Functions

Functions related to the X Sync extension. More...

Functions

EAPI int ecore_x_sync_query (void)
 Return whether the X server supports the Sync Extension.
EAPI Ecore_X_Sync_Alarm ecore_x_sync_alarm_new (Ecore_X_Sync_Counter counter)
 Create a new alarm.
EAPI int ecore_x_sync_alarm_free (Ecore_X_Sync_Alarm alarm)
 Delete an alarm.

Detailed Description

Functions related to the X Sync extension.


Function Documentation

EAPI int ecore_x_sync_alarm_free ( Ecore_X_Sync_Alarm  alarm)

Delete an alarm.

Parameters:
alarmThe alarm to delete.
Returns:
1 on success, 0 otherwise.

Delete the alarm. Returns 1 on success, 0 otherwise.

EAPI Ecore_X_Sync_Alarm ecore_x_sync_alarm_new ( Ecore_X_Sync_Counter  counter)

Create a new alarm.

Parameters:
counterA counter.
Returns:
A newly created alarm.

Create a new alarm.

References ecore_x_sync().

EAPI int ecore_x_sync_query ( void  )

Return whether the X server supports the Sync Extension.

Returns:
1 if the X Sync Extension is available, 0 otherwise.

Return 1 if the X server supports the Sync Extension version 3.0, 0 otherwise.