mutter/src/core
Carlos Garnacho 8b0da940cf x11: Simplify handling of focus-follows-mouse
Focus follows mouse is meant to avoid focusing windows that happened
to pop up under the pointer, e.g. due to mapping, workspace changes,
etc... On X11, this has been done since ancient times through a
moderately complex synchronization mechanism, so mutter would know
to ignore crossing events caused on those situations.

This mechanism is much prior to XInput 2 though, where we may know
this in a more straightforward way: If the sourceid of the crossing
event is a logical pointer (i.e. equals deviceid), the crossing event
was triggered logically, and not through user input.

Perform this simpler check, and drop the existing mechanism to
ignore logically induced crossing events.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3267>
2023-09-28 15:39:44 +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 mtk: Move Rectangle.from_graphene_rect from Meta 2023-08-30 16:46:14 +02:00
boxes.c mtk: Move Rectangle.from_graphene_rect from Meta 2023-08-30 16:46:14 +02:00
constraints.c mutter: Completely replace MetaRectangle with MtkRectangle 2023-08-30 16:46:14 +02:00
constraints.h mutter: Completely replace MetaRectangle with MtkRectangle 2023-08-30 16:46:14 +02:00
delete.c core/delete: Avoid warnings when there is no close dialog 2023-01-30 13:17:19 +00:00
display-private.h mutter: Completely replace MetaRectangle with MtkRectangle 2023-08-30 16:46:14 +02:00
display.c core: Do not repick pointer while syncing wayland foci 2023-09-21 12:28:06 +00:00
events.c events: Don't un-bypass Clutter event handling in presence of grabs 2023-09-21 10:00:52 +00:00
events.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
frame.c x11: Handle ConfigureRequest events in frames 2023-08-31 20:53:04 +00:00
frame.h mutter: Completely replace MetaRectangle with MtkRectangle 2023-08-30 16:46:14 +02:00
keybindings-private.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
keybindings.c window: Really fix portrait orientation check for tiling 2023-09-06 12:36:57 +00:00
meta-accel-parse.c Update license access method 2023-08-30 08:48:23 +02:00
meta-accel-parse.h Update license access method 2023-08-30 08:48:23 +02:00
meta-anonymous-file.c Update license access method 2023-08-30 08:48:23 +02:00
meta-anonymous-file.h Update license access method 2023-08-30 08:48:23 +02:00
meta-border.c Update license access method 2023-08-30 08:48:23 +02:00
meta-border.h Update license access method 2023-08-30 08:48:23 +02:00
meta-clipboard-manager.c Update license access method 2023-08-30 08:48:23 +02:00
meta-clipboard-manager.h Update license access method 2023-08-30 08:48:23 +02:00
meta-close-dialog.c cleanup: Stop translating nick/blurb for pspecs 2023-07-19 11:33:59 +00:00
meta-context-main.c Update license access method 2023-08-30 08:48:23 +02:00
meta-context-main.h Update license access method 2023-08-30 08:48:23 +02:00
meta-context-private.h Update license access method 2023-08-30 08:48:23 +02:00
meta-context.c Update license access method 2023-08-30 08:48:23 +02:00
meta-fraction.c Update license access method 2023-08-30 08:48:23 +02:00
meta-fraction.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-gesture-tracker-private.h Update license access method 2023-08-30 08:48:23 +02:00
meta-gesture-tracker.c Update license access method 2023-08-30 08:48:23 +02:00
meta-inhibit-shortcuts-dialog-default-private.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00: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 cleanup: Stop translating nick/blurb for pspecs 2023-07-19 11:33:59 +00:00
meta-launch-context.c Update license access method 2023-08-30 08:48:23 +02:00
meta-pad-action-mapper.c Update license access method 2023-08-30 08:48:23 +02:00
meta-pad-action-mapper.h Update license access method 2023-08-30 08:48:23 +02:00
meta-private-enums.h Update license access method 2023-08-30 08:48:23 +02:00
meta-profiler.c Update license access method 2023-08-30 08:48:23 +02:00
meta-profiler.h Update license access method 2023-08-30 08:48:23 +02:00
meta-selection-private.h Update license access method 2023-08-30 08:48:23 +02:00
meta-selection-source-memory.c Update license access method 2023-08-30 08:48:23 +02:00
meta-selection-source-remote.c Update license access method 2023-08-30 08:48:23 +02:00
meta-selection-source-remote.h Update license access method 2023-08-30 08:48:23 +02:00
meta-selection-source.c Update license access method 2023-08-30 08:48:23 +02:00
meta-selection.c Update license access method 2023-08-30 08:48:23 +02:00
meta-service-channel.c Update license access method 2023-08-30 08:48:23 +02:00
meta-service-channel.h Update license access method 2023-08-30 08:48:23 +02:00
meta-sound-player.c Update license access method 2023-08-30 08:48:23 +02:00
meta-workspace-manager-private.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-workspace-manager.c cleanup: Drop empty vfuncs overrides 2023-08-29 23:38:32 +00:00
mutter.c mutter: Raise the NOFILE limit if a Wayland compositor 2022-02-07 16:11:47 +01:00
place.c mutter: Completely replace MetaRectangle with MtkRectangle 2023-08-30 16:46:14 +02:00
place.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
prefs-private.h Update license access method 2023-08-30 08:48:23 +02:00
prefs.c cleanup: Fix various typos 2023-08-12 20:13:37 +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 core: Subscribe to stack changes in the stack-tracker 2023-09-03 23:31:37 +02:00
stack-tracker.h core: Subscribe to stack changes in the stack-tracker 2023-09-03 23:31:37 +02:00
stack.c core: Subscribe to stack changes in the stack-tracker 2023-09-03 23:31:37 +02:00
stack.h Remove unused meta_stack_get_bottom 2023-08-12 19:53:46 +00:00
startup-notification-private.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
startup-notification.c cleanup: Drop empty vfuncs overrides 2023-08-29 23:38:32 +00:00
util-private.h Update license access method 2023-08-30 08:48:23 +02:00
util.c backends/eis: Hook eis into the debug system 2023-07-14 22:23:45 +00:00
window-private.h window: Really fix portrait orientation check for tiling 2023-09-06 12:36:57 +00:00
window.c x11: Simplify handling of focus-follows-mouse 2023-09-28 15:39:44 +00:00
workspace-private.h mutter: Completely replace MetaRectangle with MtkRectangle 2023-08-30 16:46:14 +02:00
workspace.c mutter: Completely replace MetaRectangle with MtkRectangle 2023-08-30 16:46:14 +02:00