x11: Drop error trap helpers

They are no longer that useful as they end up calling
mtk functions nowadays

Followup of https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3230

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3483>
This commit is contained in:
Bilal Elmoussaoui
2024-01-03 15:43:36 +01:00
committed by Robert Mader
parent 5564eaeb4a
commit 94f9d88371
35 changed files with 208 additions and 326 deletions

View File

@ -60,7 +60,6 @@
#include "core/util-private.h"
#include "meta/main.h"
#include "meta/meta-enum-types.h"
#include "meta/meta-x11-errors.h"
#include "meta-dbus-display-config.h"

View File

@ -57,7 +57,6 @@
#include "backends/native/meta-virtual-monitor-native.h"
#include "clutter/clutter.h"
#include "meta/main.h"
#include "meta/meta-x11-errors.h"
#include "meta-dbus-display-config.h"

View File

@ -57,7 +57,7 @@
#include "core/display-private.h"
#include "meta/meta-cursor-tracker.h"
#include "meta/util.h"
#include "mtk/mtk-x11-errors.h"
#include "mtk/mtk-x11.h"
struct _MetaBackendX11Private
{

View File

@ -22,7 +22,6 @@
#include "backends/x11/cm/meta-cursor-sprite-xfixes.h"
#include "clutter/clutter-private.h"
#include "meta/meta-x11-errors.h"
#include "x11/meta-x11-display-private.h"
#define UPDATE_POSITION_TIMEOUT_MS (ms (100))

View File

@ -39,7 +39,6 @@
#include "cogl/cogl.h"
#include "core/display-private.h"
#include "meta/meta-context.h"
#include "meta/meta-x11-errors.h"
#define STAGE_X11_IS_MAPPED(s) ((((MetaStageX11 *) (s))->wm_state & STAGE_X11_WITHDRAWN) == 0)