1
0
Fork 0
mutter-performance-source/src
Carlos Garnacho ad02ef6f44 x11: Drop unnecessary check to ignore crossing events
This check dates all the way back to commit ac2aa5337d. At the time, the
window switcher was an actual X window, that could generate crossing events
if popped up under the pointer. Checking for this kind of crossing events
made sense back at the time in order not to break focus-follows-mouse as
it's been behaving for long.

But now, this UI is all Clutter widgetry, which in the worst case (X11
sessions, of course) it will update the stage window shape to make these
parts clickable. This happens in other places of code that do already
check for ignoring crossing events.

Underneath, this looked up for a Mutter-local GdkWindow of type
GDK_WINDOW_TEMP, only the main MetaFrames window matches those characteristics
nowadays, notably no window switcher popups. Since the remaining window is
never unmapped (until perhaps shutdown), the paths were functionally dead.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2175>
2022-12-01 20:10:53 +00:00
..
backends context: Add 'started' and 'prepare-shutdown' signals 2022-11-25 10:26:52 +00:00
compositor compositor: Move frame drawn x11 management to MetaSyncCounter 2022-12-01 20:10:52 +00:00
core x11: Replace MetaWindow sync request handling with MetaSyncCounter 2022-12-01 20:10:52 +00:00
meta barrier: Make type derivable again 2022-09-15 12:27:52 +00:00
tests tests: Ensure that restore-size resizes the client before maximize/unmaximize 2022-12-01 20:10:52 +00:00
ui ui: Drop undeclared function definition from header 2022-12-01 20:10:53 +00:00
wayland wayland/surface: Overhaul handling of buffer use count 2022-12-01 17:23:34 +01:00
x11 x11: Drop unnecessary check to ignore crossing events 2022-12-01 20:10:53 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build x11: Add standalone MetaSyncCounter helper struct 2022-12-01 20:10:52 +00:00
meta-private-enum-types.c.in build: Add missing include 2022-08-10 20:28:40 +02:00
meta-private-enum-types.h.in screen-cast: Add screen cast flag to streams 2020-07-30 09:51:16 +02:00