docs: Stop using gdk_surface_get_decorations

This commit is contained in:
Matthias Clasen 2020-03-03 12:25:41 -08:00
parent a79b6fbf35
commit c67d426dc4

View File

@ -213,12 +213,7 @@ static guint shot_id;
static gboolean
window_is_csd (GdkSurface *window)
{
gboolean set;
GdkWMDecoration decorations = 0;
/* FIXME: is this accurate? */
set = gdk_surface_get_decorations (window, &decorations);
return (set && (decorations == 0));
return TRUE;
}
static gboolean