[gtk/present-toplevel-2: 49/79] docs: Stop using gdk_surface_get_decorations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/present-toplevel-2: 49/79] docs: Stop using gdk_surface_get_decorations
- Date: Mon, 9 Mar 2020 15:35:42 +0000 (UTC)
commit b2b0df574033b45b8e532151ad073cdcf3ef8554
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Mar 3 12:25:41 2020 -0800
docs: Stop using gdk_surface_get_decorations
docs/tools/shooter.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/docs/tools/shooter.c b/docs/tools/shooter.c
index 5074f3e8bc..8f2fff6f16 100644
--- a/docs/tools/shooter.c
+++ b/docs/tools/shooter.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]