Function

GdkX11.x11_set_sm_client_id

Declaration [src]

void
gdk_x11_set_sm_client_id (
  const char* sm_client_id
)

Description [src]

Sets the SM_CLIENT_ID property on the application’s leader window so that the window manager can save the application’s state using the X11R6 ICCCM session management protocol.

See the X Session Management Library documentation for more information on session management and the Inter-Client Communication Conventions Manual

Parameters

sm_client_id const char*
 

the client id assigned by the session manager when the connection was opened, or NULL to remove the property.

 Can be NULL
 Ownership is not transferred to the callee
 The string is a NUL terminated UTF-8 string