From 40d2e8cfdfbda2c2450598664edefbe5491119a9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 1 Mar 2020 11:31:04 -0800 Subject: [PATCH] docs: Stop using gdk_surface_get_decorations --- docs/tools/shooter.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/tools/shooter.c b/docs/tools/shooter.c index 5074f3e8bc..44b0ba49a7 100644 --- a/docs/tools/shooter.c +++ b/docs/tools/shooter.c @@ -213,12 +213,8 @@ 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