mutter/src/backends
Carlos Garnacho 07d24fe502 backends/native: Allow infinitely small pointer constraint regions
The small catch is that MtkRegion (and pixman regions) "optimize away"
0-size rectangles, so a 0-sized region will always be seen as having
a 0,0 origin. We don't want that, so transfer the origin separately from
the region.

While at it, make the Wayland pointer lock use one such 0-size region,
to avoid the 1x1px wiggle room that it currently has (accounting for subpixel
motion).

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3420>
2024-02-13 12:36:26 +01:00
..
native backends/native: Allow infinitely small pointer constraint regions 2024-02-13 12:36:26 +01:00
x11 backends/x11: Store eraser and stylus tools separately 2024-02-05 12:33:43 +00:00
edid-parse.c edid: Copy the Manufacturer Code char array to a NULL-term string 2023-09-12 20:06:22 +02:00
edid.h edid: Fix up libdisplay-info support 2023-09-12 17:52:34 +02:00
gsm-inhibitor-flag.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-backend-private.h backends: Allow XKB model to be configured 2024-01-18 18:51:42 +00:00
meta-backend-types.h screen-cast: Pass remote desktop session on construction 2023-09-01 10:43:26 +00:00
meta-backend.c backends: Allow XKB model to be configured 2024-01-18 18:51:42 +00:00
meta-barrier-private.h Update license access method 2023-08-30 08:48:23 +02:00
meta-barrier.c barrier: Drop deprecated display property 2024-02-09 18:03:09 +01:00
meta-color-device.c color-device: Don't close lcms profile on error from cd_icc_load_handle 2023-03-03 12:07:02 +00:00
meta-color-device.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-color-manager-private.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-color-manager.c color-manager: Don't try to manage virtual monitors 2023-11-27 14:21:37 +00:00
meta-color-manager.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-color-profile.c
meta-color-profile.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-color-store.c
meta-color-store.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-crtc-mode.c Update license access method 2023-08-30 08:48:23 +02:00
meta-crtc-mode.h Update license access method 2023-08-30 08:48:23 +02:00
meta-crtc.c monitor-config-manager: Allow backends to assign extra data 2023-12-18 13:35:09 +00:00
meta-crtc.h monitor-config-manager: Allow backends to assign extra data 2023-12-18 13:35:09 +00:00
meta-cursor-renderer.c backends: Make base MetaCursorRenderer implementation want an overlay 2023-08-31 21:46:35 +00:00
meta-cursor-renderer.h Update license access method 2023-08-30 08:48:23 +02:00
meta-cursor-sprite-xcursor.c backends: Update cursor names to match updated metaphors 2024-01-26 23:44:02 +00:00
meta-cursor-sprite-xcursor.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-cursor-tracker-private.h backends: Drop unused private functions 2024-01-09 13:14:35 +00:00
meta-cursor-tracker.c wayland: Handle pointer focus inhibition at the Clutter level 2024-02-13 01:01:48 +01:00
meta-cursor.c cogl: Port Texture* away from CoglObject 2023-10-29 21:16:24 +00:00
meta-cursor.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-dbus-session-manager.c Update license access method 2023-08-30 08:48:23 +02:00
meta-dbus-session-manager.h Update license access method 2023-08-30 08:48:23 +02:00
meta-dbus-session-watcher.c Update license access method 2023-08-30 08:48:23 +02:00
meta-dbus-session-watcher.h Update license access method 2023-08-30 08:48:23 +02:00
meta-display-config-shared.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-dnd-private.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-egl-ext.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-egl.c Update license access method 2023-08-30 08:48:23 +02:00
meta-egl.h Update license access method 2023-08-30 08:48:23 +02:00
meta-eis-client.c backends: Use helper to translate from/to clutter/evdev button codes 2023-10-13 16:24:43 +00:00
meta-eis-client.h eis: Remove meta_ prefix from variables 2023-09-01 10:43:26 +00:00
meta-eis-viewport.c eis: Rebuild absolute pointers when any viewport changes 2023-09-04 12:14:42 +02:00
meta-eis-viewport.h eis: Rebuild absolute pointers when any viewport changes 2023-09-04 12:14:42 +02:00
meta-eis.c eis: Name event source 2023-11-15 10:24:41 +00:00
meta-eis.h remote-desktop/session: Add regions for all monitors if input-only 2023-09-01 15:45:33 +02:00
meta-fd-source.c backends: Include unistd.h to fix compilation on musl 2023-12-15 14:59:26 +00:00
meta-fd-source.h Update license access method 2023-08-30 08:48:23 +02:00
meta-gles3-table.h Update license access method 2023-08-30 08:48:23 +02:00
meta-gles3.c Update license access method 2023-08-30 08:48:23 +02:00
meta-gles3.h Update license access method 2023-08-30 08:48:23 +02:00
meta-gpu.c Update license access method 2023-08-30 08:48:23 +02:00
meta-gpu.h Update license access method 2023-08-30 08:48:23 +02:00
meta-idle-manager.c
meta-idle-manager.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-idle-monitor-private.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-idle-monitor.c cleanup: Stop translating nick/blurb for pspecs 2023-07-19 11:33:59 +00:00
meta-input-capture-private.h Update license access method 2023-08-30 08:48:23 +02:00
meta-input-capture-session.c input-capture: Fix barrier validation without a monitor at (0.0) 2024-02-05 10:45:26 +01:00
meta-input-capture-session.h Update license access method 2023-08-30 08:48:23 +02:00
meta-input-capture.c Update license access method 2023-08-30 08:48:23 +02:00
meta-input-capture.h Update license access method 2023-08-30 08:48:23 +02:00
meta-input-device-private.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-input-device.c cleanup: Make include macro usages consistent 2023-08-07 22:24:36 +00:00
meta-input-mapper-private.h cleanup: Make clutter includes consistent 2024-01-05 14:22:22 +01:00
meta-input-mapper.c backends: Disambiguate output mapped to tablet with connector name 2024-02-06 10:03:48 +00:00
meta-input-settings-dummy.c input-settings: Apply pointing stick settings 2023-10-06 15:06:02 +00:00
meta-input-settings-dummy.h
meta-input-settings-private.h input-settings: Apply pointing stick settings 2023-10-06 15:06:02 +00:00
meta-input-settings.c input-settings: Apply pointing stick settings 2023-10-06 15:06:02 +00:00
meta-keymap-utils.c
meta-keymap-utils.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-logical-monitor.c mutter: Completely replace MetaRectangle with MtkRectangle 2023-08-30 16:46:14 +02:00
meta-logical-monitor.h mutter: Completely replace MetaRectangle with MtkRectangle 2023-08-30 16:46:14 +02:00
meta-monitor-config-manager.c backends: Get the RGB range from a monitor config to the output 2024-01-30 16:24:52 +00:00
meta-monitor-config-manager.h monitor-config-store: Store and parse rgbrange monitor property 2024-01-30 16:24:52 +00:00
meta-monitor-config-migration.c mutter: Completely replace MetaRectangle with MtkRectangle 2023-08-30 16:46:14 +02:00
meta-monitor-config-migration.h Update license access method 2023-08-30 08:48:23 +02:00
meta-monitor-config-store.c monitor-config-store: Store and parse rgbrange monitor property 2024-01-30 16:24:52 +00:00
meta-monitor-config-store.h Update license access method 2023-08-30 08:48:23 +02:00
meta-monitor-manager-dummy.c monitor-config-manager: Allow backends to assign extra data 2023-12-18 13:35:09 +00:00
meta-monitor-manager-dummy.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-monitor-manager-private.h backends: Get the RGB range from a monitor config to the output 2024-01-30 16:24:52 +00:00
meta-monitor-manager.c x11: Drop error trap helpers 2024-01-10 13:58:18 +00:00
meta-monitor-transform.c monitor-transform: Invert the behaviour of transform_point 2023-08-22 15:16:27 +00:00
meta-monitor-transform.h monitor-transform: Invert the behaviour of transform_point 2023-08-22 15:16:27 +00:00
meta-monitor.c monitor: Add a getter for the RGB range 2024-01-30 16:24:52 +00:00
meta-monitor.h monitor: Add a getter for the RGB range 2024-01-30 16:24:52 +00:00
meta-orientation-manager.c Update license access method 2023-08-30 08:48:23 +02:00
meta-orientation-manager.h Update license access method 2023-08-30 08:48:23 +02:00
meta-output.c backends: Get the RGB range from a monitor config to the output 2024-01-30 16:24:52 +00:00
meta-output.h monitor-unit-tests: Add basic tests for RGB range 2024-01-30 16:24:52 +00:00
meta-pointer-constraint.c backends/native: Allow infinitely small pointer constraint regions 2024-02-13 12:36:26 +01:00
meta-pointer-constraint.h backends/native: Allow infinitely small pointer constraint regions 2024-02-13 12:36:26 +01:00
meta-remote-access-controller-private.h Update license access method 2023-08-30 08:48:23 +02:00
meta-remote-access-controller.c tree-wide: Fix spelling of "inhibition" 2023-12-06 16:01:36 +00:00
meta-remote-desktop-session.c remote-desktop/eis: Fix ConnectToEIS device-types 2023-12-13 17:22:10 +00:00
meta-remote-desktop-session.h backends/remote-desktop-session: Add API to release mapping ids 2023-09-16 22:13:05 +02:00
meta-remote-desktop.c remote-desktop/session: Limit device type access when using libei 2023-09-01 10:43:26 +00:00
meta-remote-desktop.h remote-desktop/session: Limit device type access when using libei 2023-09-01 10:43:26 +00:00
meta-renderer-view.c region: Move RegionBuilder to Mtk 2024-01-09 18:47:34 +00:00
meta-renderer-view.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-renderer.c Update license access method 2023-08-30 08:48:23 +02:00
meta-renderer.h Update license access method 2023-08-30 08:48:23 +02:00
meta-screen-cast-area-stream-src.c screen-cast/src: Track paint phase 2023-11-22 07:55:04 +00:00
meta-screen-cast-area-stream-src.h Update license access method 2023-08-30 08:48:23 +02:00
meta-screen-cast-area-stream.c screen-cast/stream: Add 'is-configured' property 2023-09-04 12:14:42 +02:00
meta-screen-cast-area-stream.h mutter: Completely replace MetaRectangle with MtkRectangle 2023-08-30 16:46:14 +02:00
meta-screen-cast-monitor-stream-src.c screen-cast/monitor-src: Bring back blitting 2023-11-22 07:55:04 +00:00
meta-screen-cast-monitor-stream-src.h Update license access method 2023-08-30 08:48:23 +02:00
meta-screen-cast-monitor-stream.c screen-cast/stream: Add 'is-configured' property 2023-09-04 12:14:42 +02:00
meta-screen-cast-monitor-stream.h Update license access method 2023-08-30 08:48:23 +02:00
meta-screen-cast-session.c screen-cast/session: Use add_stream() helper everywhere 2023-09-04 12:14:42 +02:00
meta-screen-cast-session.h eis: Use either standalone or shared devices for absolute input 2023-09-01 15:44:01 +02:00
meta-screen-cast-stream-src.c screen-cast-stream-src: Cleanup includes and defines 2024-02-12 21:46:14 +01:00
meta-screen-cast-stream-src.h screen-cast/src: Track paint phase 2023-11-22 07:55:04 +00:00
meta-screen-cast-stream.c screencast: Add ability to stop streams 2023-11-30 12:22:59 +01:00
meta-screen-cast-stream.h screen-cast/stream: Add 'is-configured' property 2023-09-04 12:14:42 +02:00
meta-screen-cast-virtual-stream-src.c screen-cast/src: Track paint phase 2023-11-22 07:55:04 +00:00
meta-screen-cast-virtual-stream-src.h screen-cast: Implement MetaEisViewport in all stream types 2023-09-01 15:44:01 +02:00
meta-screen-cast-virtual-stream.c screen-cast: Implement MetaEisViewport in all stream types 2023-09-01 15:44:01 +02:00
meta-screen-cast-virtual-stream.h Update license access method 2023-08-30 08:48:23 +02:00
meta-screen-cast-window-stream-src.c screen-cast/src: Track paint phase 2023-11-22 07:55:04 +00:00
meta-screen-cast-window-stream-src.h Update license access method 2023-08-30 08:48:23 +02:00
meta-screen-cast-window-stream.c screen-cast/window-stream: Mark as configured 2023-11-17 19:43:48 +00:00
meta-screen-cast-window-stream.h Update license access method 2023-08-30 08:48:23 +02:00
meta-screen-cast-window.c mutter: Completely replace MetaRectangle with MtkRectangle 2023-08-30 16:46:14 +02:00
meta-screen-cast-window.h mutter: Completely replace MetaRectangle with MtkRectangle 2023-08-30 16:46:14 +02:00
meta-screen-cast.c screen-cast: Implement query_modifiers 2024-02-12 21:45:27 +01:00
meta-screen-cast.h screen-cast: Implement query_modifiers 2024-02-12 21:45:27 +01:00
meta-settings-private.h backends/native: Main thread rt-scheduler: experimental feature no more 2024-01-13 15:10:31 +01:00
meta-settings.c backends/native: Main thread rt-scheduler: experimental feature no more 2024-01-13 15:10:31 +01:00
meta-stage-impl-private.h backends: Drop unused private functions 2024-01-09 13:14:35 +00:00
meta-stage-impl.c meta/stage-impl: Add trace span to paint_damage_region 2023-12-06 16:12:58 +00:00
meta-stage-private.h backends: Drop unused private functions 2024-01-09 13:14:35 +00:00
meta-stage-view-private.h Port to MtkRegion 2023-11-03 11:27:52 +00:00
meta-stage-view.c stage-view: Add API to query cursor overlay inhibition 2023-10-03 15:41:05 +00:00
meta-stage-view.h stage-view: Add API to query cursor overlay inhibition 2023-10-03 15:41:05 +00:00
meta-stage.c backends: Drop unused private functions 2024-01-09 13:14:35 +00:00
meta-viewport-info.c mutter: Completely replace MetaRectangle with MtkRectangle 2023-08-30 16:46:14 +02:00
meta-viewport-info.h mutter: Completely replace MetaRectangle with MtkRectangle 2023-08-30 16:46:14 +02:00
meta-virtual-monitor.c Update license access method 2023-08-30 08:48:23 +02:00
meta-virtual-monitor.h Update license access method 2023-08-30 08:48:23 +02:00