Method

GdkX11.X11Screen.supports_net_wm_hint

Declaration [src]

gboolean
gdk_x11_screen_supports_net_wm_hint (
  GdkX11Screen* screen,
  const char* property_name
)

Description [src]

This function is specific to the X11 backend of GDK, and indicates whether the window manager supports a certain hint from the Extended Window Manager Hints specification.

When using this function, keep in mind that the window manager can change over time; so you shouldn’t use this function in a way that impacts persistent application state. A common bug is that your application can start up before the window manager does when the user logs in, and before the window manager starts gdk_x11_screen_supports_net_wm_hint() will return FALSE for every property. You can monitor the window_manager_changed signal on GdkX11Screen to detect a window manager change.

Parameters

property_name const char*
 

name of the WM property

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

Return value

Returns: gboolean

TRUE if the window manager supports property