9a5f243f73
The previous code was leaving focus fields dirty in MetaWaylandPointer and MetaWaylandKeyboard at time (which could crash the X server because of invalid object IDs) The new code is more tighly integrated in the normal X11 code for handling keyboard focus (meaning that the core idea of input focus is also correct now), so that meta_window_unmanage() can do the right thing. As a side benefit, clicking on wayland clients now unfocus X11 clients. For the mouse focus, we need to clear the surface pointer when the metawindowactor is destroyed (even if the actual actor is kept alive for effects), so that a repick finds a different pointer focus. https://bugzilla.gnome.org/show_bug.cgi?id=705859 |
||
---|---|---|
.. | ||
meta-wayland-data-device.c | ||
meta-wayland-data-device.h | ||
meta-wayland-keyboard.c | ||
meta-wayland-keyboard.h | ||
meta-wayland-pointer.c | ||
meta-wayland-pointer.h | ||
meta-wayland-private.h | ||
meta-wayland-seat.c | ||
meta-wayland-seat.h | ||
meta-wayland-stage.c | ||
meta-wayland-stage.h | ||
meta-wayland.c | ||
meta-xwayland-private.h | ||
meta-xwayland.c |