summaryrefslogtreecommitdiff
path: root/src/x11/window-x11-private.h
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2021-07-19 00:01:24 +0200
committerFlorian Müllner <fmuellner@gnome.org>2021-07-19 00:03:33 +0200
commit952865a86ebb08f97263cfdbfe38b7adc20e4560 (patch)
tree1f9347628656210b03ceee4fae83beb21491d1eb /src/x11/window-x11-private.h
parent7862f143937e43dca0513af3a24dabfb4d0db4fc (diff)
downloadmutter-master.tar.gz
Replace contents with redirect messagemaster
The default development branch is now `main`. This commit only exists on `master` to point people towards that. See https://gitlab.gnome.org/GNOME/glib/-/issues/2348 for details.
Diffstat (limited to 'src/x11/window-x11-private.h')
-rw-r--r--src/x11/window-x11-private.h89
1 files changed, 0 insertions, 89 deletions
diff --git a/src/x11/window-x11-private.h b/src/x11/window-x11-private.h
deleted file mode 100644
index e12f83be0..000000000
--- a/src/x11/window-x11-private.h
+++ /dev/null
@@ -1,89 +0,0 @@
-/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
-
-/*
- * Copyright (C) 2001 Havoc Pennington, Anders Carlsson
- * Copyright (C) 2002, 2003 Red Hat, Inc.
- * Copyright (C) 2003 Rob Adams
- * Copyright (C) 2004-2006 Elijah Newren
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef META_WINDOW_X11_PRIVATE_H
-#define META_WINDOW_X11_PRIVATE_H
-
-#include "core/window-private.h"
-#include "x11/iconcache.h"
-#include "x11/window-x11.h"
-
-G_BEGIN_DECLS
-
-/*
- * Mirrors _NET_WM_BYPASS_COMPOSITOR preference values.
- */
-typedef enum _MetaBypassCompositorHint
-{
- META_BYPASS_COMPOSITOR_HINT_AUTO = 0,
- META_BYPASS_COMPOSITOR_HINT_ON = 1,
- META_BYPASS_COMPOSITOR_HINT_OFF = 2,
-} MetaBypassCompositorHint;
-
-typedef struct _MetaWindowX11Private MetaWindowX11Private;
-
-struct _MetaWindowX11Private
-{
- /* TRUE if the client forced these on */
- guint wm_state_skip_taskbar : 1;
- guint wm_state_skip_pager : 1;
- guint wm_take_focus : 1;
- guint wm_ping : 1;
- guint wm_delete_window : 1;
-
- /* Weird "_NET_WM_STATE_MODAL" flag */
- guint wm_state_modal : 1;
-
- /* Info on which props we got our attributes from */
- guint using_net_wm_name : 1; /* vs. plain wm_name */
- guint using_net_wm_visible_name : 1; /* tracked so we can clear it */
-
- Atom type_atom;
-
- /* Requested geometry */
- int border_width;
-
- gboolean showing_resize_popup;
-
- /* These are in server coordinates. If we have a frame, it's
- * relative to the frame. */
- MetaRectangle client_rect;
-
- MetaIconCache icon_cache;
- Pixmap wm_hints_pixmap;
- Pixmap wm_hints_mask;
-
- /* Freeze/thaw on resize (for Xwayland) */
- gboolean thaw_after_paint;
-
- /* Bypass compositor hints */
- MetaBypassCompositorHint bypass_compositor;
-};
-
-MetaWindowX11Private * meta_window_x11_get_private (MetaWindowX11 *window_x11);
-
-void meta_window_x11_set_bypass_compositor_hint (MetaWindowX11 *window_x11,
- MetaBypassCompositorHint requested_value);
-
-G_END_DECLS
-
-#endif