Bilal Elmoussaoui
ead9a3024c
cleanup: Switch to pragma once
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3157 >
2023-08-07 22:24:36 +00:00
Carlos Garnacho
675d0df09b
compositor: Make cleaning cached edges go through MetaWindowDrag
...
Even though the data is still stored in the display, add a "high
level" meta_window_drag_update_edges() call, so that the cached
edges may be updated while a window drag operation is ongoing.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2683 >
2023-01-30 10:56:29 +00:00
Carlos Garnacho
60f11e419f
compositor: Pass MetaWindowDrag to edge resistance functions
...
This code will be poked exclusively from the MetaWindowDrag, so
change the API to start passing this object around.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2683 >
2023-01-30 10:56:29 +00:00
Carlos Garnacho
36bda45888
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 >
2023-01-30 10:56:29 +00:00