core: Move edge-resistance handling to src/compositor

This is now something that is mainly handled from the compositor
side, so it makes sense to move it there. Following commits will
cut all ties with src/core.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2683>
This commit is contained in:
Carlos Garnacho 2022-10-27 17:47:06 +02:00 committed by Marge Bot
parent e88891a1d5
commit 36bda45888
6 changed files with 4 additions and 6 deletions

View File

@ -21,7 +21,7 @@
#include "config.h" #include "config.h"
#include "core/edge-resistance.h" #include "compositor/edge-resistance.h"
#include "compositor/compositor-private.h" #include "compositor/compositor-private.h"
#include "core/boxes-private.h" #include "core/boxes-private.h"

View File

@ -24,7 +24,7 @@
#include "meta-window-drag.h" #include "meta-window-drag.h"
#include "compositor/compositor-private.h" #include "compositor/compositor-private.h"
#include "core/edge-resistance.h" #include "compositor/edge-resistance.h"
#include "core/frame.h" #include "core/frame.h"
#include "core/window-private.h" #include "core/window-private.h"
#include "meta/meta-enum-types.h" #include "meta/meta-enum-types.h"

View File

@ -36,7 +36,6 @@
#include "backends/x11/meta-backend-x11.h" #include "backends/x11/meta-backend-x11.h"
#include "backends/x11/meta-input-device-x11.h" #include "backends/x11/meta-input-device-x11.h"
#include "compositor/compositor-private.h" #include "compositor/compositor-private.h"
#include "core/edge-resistance.h"
#include "core/frame.h" #include "core/frame.h"
#include "core/keybindings-private.h" #include "core/keybindings-private.h"
#include "core/meta-accel-parse.h" #include "core/meta-accel-parse.h"

View File

@ -71,7 +71,6 @@
#include "compositor/compositor-private.h" #include "compositor/compositor-private.h"
#include "core/boxes-private.h" #include "core/boxes-private.h"
#include "core/constraints.h" #include "core/constraints.h"
#include "core/edge-resistance.h"
#include "core/frame.h" #include "core/frame.h"
#include "core/keybindings-private.h" #include "core/keybindings-private.h"
#include "core/meta-workspace-manager-private.h" #include "core/meta-workspace-manager-private.h"

View File

@ -279,6 +279,8 @@ mutter_sources = [
'compositor/cogl-utils.h', 'compositor/cogl-utils.h',
'compositor/compositor.c', 'compositor/compositor.c',
'compositor/compositor-private.h', 'compositor/compositor-private.h',
'compositor/edge-resistance.c',
'compositor/edge-resistance.h',
'compositor/meta-background-actor.c', 'compositor/meta-background-actor.c',
'compositor/meta-background-actor-private.h', 'compositor/meta-background-actor-private.h',
'compositor/meta-background-content.c', 'compositor/meta-background-content.c',
@ -329,8 +331,6 @@ mutter_sources = [
'core/delete.c', 'core/delete.c',
'core/display.c', 'core/display.c',
'core/display-private.h', 'core/display-private.h',
'core/edge-resistance.c',
'core/edge-resistance.h',
'core/events.c', 'core/events.c',
'core/events.h', 'core/events.h',
'core/frame.c', 'core/frame.c',