Function gdk4_x11::x11_set_sm_client_id
source · pub fn x11_set_sm_client_id(sm_client_id: Option<&str>)
Expand description
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
§sm_client_id
the client id assigned by the session manager
when the connection was opened, or None
to remove the property.