1
0
Fork 0
mutter-performance-source/src/core
Jonas Ådahl 2fb3bdf774 input-capture: Hook up capturing of events to active session
This adds the actual input capturing rerouting that takes events and
first hands them to the input capture session, would it be active.
Events are right now not actually processed in any way, but will
eventually be passed to a libei client using libeis.

A key binding for allowing cancelling the capture session is added
(defaults to <Super><Shift>Escape) to avoid getting stuck in case the client
doesn't even terminate the session.

The added test case makes sure that the pointer moves again after
pressing the keybinding.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2628>
2023-07-14 22:23:45 +00:00
..
bell.c mutter: Remove stray spaces 2023-05-24 14:16:41 +02:00
bell.h frame: Remove flashing support 2019-03-12 00:27:07 +00:00
boxes-private.h boxes: Add function to check if rectangle is adjacent to region 2021-08-04 14:02:16 +00:00
boxes.c mutter: Cleanup gi-docgen annotations 2023-05-22 15:47:37 +00:00
constraints.c constraints: Don't apply titlebar constraint on non-drag user-op move 2023-03-04 20:31:33 +00:00
constraints.h window: Implement asynchronous popup moving 2020-02-29 21:01:50 +00:00
delete.c core/delete: Avoid warnings when there is no close dialog 2023-01-30 13:17:19 +00:00
display-private.h input-capture: Hook up capturing of events to active session 2023-07-14 22:23:45 +00:00
display.c input-capture: Hook up capturing of events to active session 2023-07-14 22:23:45 +00:00
events.c input-capture: Hook up capturing of events to active session 2023-07-14 22:23:45 +00:00
events.h core: Add a copy of GDK_PRIORITY_EVENTS 2022-12-22 15:13:54 +01:00
frame.c x11: Use input region from frame window for decorated windows 2023-06-02 20:21:56 +00:00
frame.h core: Remove meta_frame_get_flags() 2023-04-20 15:49:55 +02:00
keybindings-private.h input-capture: Hook up capturing of events to active session 2023-07-14 22:23:45 +00:00
keybindings.c input-capture: Hook up capturing of events to active session 2023-07-14 22:23:45 +00:00
meta-accel-parse.c core: Replace MetaVirtualModifier 2022-12-22 15:13:54 +01:00
meta-accel-parse.h core: Replace MetaVirtualModifier 2022-12-22 15:13:54 +01:00
meta-anonymous-file.c Add read-only anonymous file abstraction MetaAnonymousFile 2020-04-21 17:52:08 +02:00
meta-anonymous-file.h Add read-only anonymous file abstraction MetaAnonymousFile 2020-04-21 17:52:08 +02:00
meta-border.c MetaBorder: Use float constants and functions instead of double variants 2016-02-16 19:02:48 +08:00
meta-border.h Move out generic math parts out of the native barrier implementation 2016-02-16 19:02:48 +08:00
meta-clipboard-manager.c core: Setup and use ownership chains 2022-12-17 15:13:48 +01:00
meta-clipboard-manager.h core: Add clipboard manager 2019-05-02 16:22:45 +02:00
meta-close-dialog.c Use a consistent style for enum braces 2019-02-28 09:31:01 +01:00
meta-context-main.c context: Start persistent profiling via command line argument 2023-05-31 08:37:52 +00:00
meta-context-main.h Introduce MetaContextMain 2021-07-15 11:25:21 +02:00
meta-context-private.h wayland: Make the MetaWaylandCompositor type public 2023-06-27 16:17:16 +00:00
meta-context.c wayland: Make the MetaWaylandCompositor type public 2023-06-27 16:17:16 +00:00
meta-fraction.c Add MetaFraction for dealing with fractions 2017-08-29 14:39:04 +08:00
meta-fraction.h Add MetaFraction for dealing with fractions 2017-08-29 14:39:04 +08:00
meta-gesture-tracker-private.h display: Move finishing of touch sequence to the backend 2019-10-28 18:40:43 +00:00
meta-gesture-tracker.c mutter: Remove stray spaces 2023-05-24 14:16:41 +02:00
meta-inhibit-shortcuts-dialog-default-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-inhibit-shortcuts-dialog-default.c Use a consistent style for enum braces 2019-02-28 09:31:01 +01:00
meta-inhibit-shortcuts-dialog.c core: add MetaInhibitShortcutsDialog 2017-08-02 11:58:55 +02:00
meta-launch-context.c core: Setup and use ownership chains 2022-12-17 15:13:48 +01:00
meta-pad-action-mapper.c core: Replace MetaVirtualModifier 2022-12-22 15:13:54 +01:00
meta-pad-action-mapper.h backends: Split pad action mapping to a separate object 2020-11-27 15:14:33 +00:00
meta-private-enums.h window: Move some display level window processing to MetaDisplay 2022-02-07 17:52:05 +00:00
meta-profiler.c profiler: Actually free ThreadInfo when a thread unregisters 2023-06-14 23:54:41 +03:00
meta-profiler.h context: Start persistent profiling via command line argument 2023-05-31 08:37:52 +00:00
meta-selection-private.h core: Setup and use ownership chains 2022-12-17 15:13:48 +01:00
meta-selection-source-memory.c core: Fix task leak in meta_selection_source_memory_read_async 2020-02-01 14:02:19 +00:00
meta-selection-source-remote.c remote-desktop/session: Add support for SelectionTransfer/Write 2021-02-05 16:44:27 +00:00
meta-selection-source-remote.h remote-desktop/session: Add support for SelectionTransfer/Write 2021-02-05 16:44:27 +00:00
meta-selection-source.c Make MetaSelection, MetaSelectionSource and MetaMemorySelectionSource public 2019-05-02 16:31:45 +02:00
meta-selection.c core/selection: Set display on creation 2022-12-17 16:47:46 +01:00
meta-service-channel.c Introduce the 'service channel' D-Bus service 2023-02-13 15:34:24 +00:00
meta-service-channel.h Introduce the 'service channel' D-Bus service 2023-02-13 15:34:24 +00:00
meta-sound-player.c sound player: Don't unref undefined fields 2022-11-23 10:37:19 +01:00
meta-workspace-manager-private.h tests/stacking: Add workspace management commands 2022-09-20 17:14:53 +00:00
meta-workspace-manager.c util: Remove push/pop no msg prefix logging 2021-11-21 20:53:33 +00:00
mutter.c mutter: Raise the NOFILE limit if a Wayland compositor 2022-02-07 16:11:47 +01:00
place.c compositor: Mirror window placement in RTL environment 2023-06-22 13:59:24 +00:00
place.h place: Make placement rule processing provide relative coordinates 2020-02-29 21:01:50 +00:00
prefs-private.h prefs: Make init function private 2021-05-17 16:08:42 +00:00
prefs.c prefs: Remove titlebar-font preference 2023-06-15 16:51:20 +00:00
restart-helper.c mutter: Remove stray spaces 2023-05-24 14:16:41 +02:00
restart.c mutter: Remove stray spaces 2023-05-24 14:16:41 +02:00
stack-tracker.c mutter: Cleanup gi-docgen annotations 2023-05-22 15:47:37 +00:00
stack-tracker.h meta: Hide libmutter symbols by default and selectively export them 2019-01-23 14:18:13 +01:00
stack.c mutter: Cleanup gi-docgen annotations 2023-05-22 15:47:37 +00:00
stack.h mutter: Remove stray spaces 2023-05-24 14:16:41 +02:00
startup-notification-private.h core: Setup and use ownership chains 2022-12-17 15:13:48 +01:00
startup-notification.c startup-notification: Delay cursor feedback updates 2023-03-04 09:07:44 +00:00
util-private.h renderer/native: Move per frame KMS update to MetaFrameNative 2023-03-02 01:40:16 +01:00
util.c seat/impl: Add 'input-events' debug topic 2023-06-26 12:36:04 +00:00
window-private.h core/window: Track monitor with the highest scale value 2023-05-22 14:44:33 +00:00
window.c core: Never automatically switch focus in strict focus mode 2023-06-30 22:40:20 -07:00
workspace-private.h core: Move remaining default focus window handling to workspace 2022-09-20 17:14:53 +00:00
workspace.c Revert "workspace: Focus the default window only if no window is focused" 2023-06-15 12:09:31 +02:00