0debb24e12
Prior to this commit, barriers were created with a MetaDisplay pointer, despite being entities related and owned by the backend. In the X11 case, it was also not hooked up to the backend X11 connection, but the clutter one, meaning for example that the logic was active (but dormant) also for the Xwayland connection. Fix this by moving X11 barrier management and event processing fully to the backend. Also replace passing a display pointer with passing a backend pointer. Keep the display pointer around for a release, but mark it as deprecated. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2442>
76 lines
2.6 KiB
C
76 lines
2.6 KiB
C
/*
|
|
* Copyright (C) 2001 Havoc Pennington
|
|
* Copyright (C) 2003 Rob Adams
|
|
* Copyright (C) 2004-2006 Elijah Newren
|
|
* Copyright (C) 2013-2018 Red Hat Inc.
|
|
*
|
|
* 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_BACKEND_TYPE_H
|
|
#define META_BACKEND_TYPE_H
|
|
|
|
typedef struct _MetaBackend MetaBackend;
|
|
|
|
typedef struct _MetaMonitorManager MetaMonitorManager;
|
|
|
|
typedef struct _MetaMonitorConfigManager MetaMonitorConfigManager;
|
|
typedef struct _MetaMonitorConfigStore MetaMonitorConfigStore;
|
|
typedef struct _MetaMonitorsConfig MetaMonitorsConfig;
|
|
|
|
typedef enum _MetaMonitorsConfigFlag MetaMonitorsConfigFlag;
|
|
|
|
typedef struct _MetaMonitor MetaMonitor;
|
|
typedef struct _MetaMonitorNormal MetaMonitorNormal;
|
|
typedef struct _MetaMonitorTiled MetaMonitorTiled;
|
|
typedef struct _MetaMonitorSpec MetaMonitorSpec;
|
|
typedef struct _MetaLogicalMonitor MetaLogicalMonitor;
|
|
|
|
typedef enum _MetaMonitorTransform MetaMonitorTransform;
|
|
|
|
typedef struct _MetaMonitorMode MetaMonitorMode;
|
|
|
|
typedef struct _MetaGpu MetaGpu;
|
|
|
|
typedef struct _MetaCrtc MetaCrtc;
|
|
typedef struct _MetaOutput MetaOutput;
|
|
typedef struct _MetaCrtcMode MetaCrtcMode;
|
|
typedef struct _MetaCrtcAssignment MetaCrtcAssignment;
|
|
typedef struct _MetaOutputAssignment MetaOutputAssignment;
|
|
|
|
typedef struct _MetaTileInfo MetaTileInfo;
|
|
|
|
typedef struct _MetaRenderer MetaRenderer;
|
|
typedef struct _MetaRendererView MetaRendererView;
|
|
|
|
typedef struct _MetaRemoteDesktop MetaRemoteDesktop;
|
|
typedef struct _MetaScreenCast MetaScreenCast;
|
|
typedef struct _MetaScreenCastSession MetaScreenCastSession;
|
|
typedef struct _MetaScreenCastStream MetaScreenCastStream;
|
|
|
|
typedef struct _MetaVirtualMonitor MetaVirtualMonitor;
|
|
typedef struct _MetaVirtualMonitorInfo MetaVirtualMonitorInfo;
|
|
typedef struct _MetaVirtualModeInfo MetaVirtualModeInfo;
|
|
|
|
typedef struct _MetaBarrier MetaBarrier;
|
|
typedef struct _MetaBarrierImpl MetaBarrierImpl;
|
|
|
|
typedef struct _MetaIdleManager MetaIdleManager;
|
|
|
|
#ifdef HAVE_REMOTE_DESKTOP
|
|
typedef struct _MetaRemoteDesktop MetaRemoteDesktop;
|
|
#endif
|
|
|
|
#endif /* META_BACKEND_TYPE_H */
|