mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 09:00:42 -05:00
9c4908b44a
If we attach to a MetaWindow that disappears before the idle fires, we'll notice that we can't associate the window properly again and try to access data on the MetaWindow struct, which might crash. Install a weak ref that ties the lifetime of the idle to the lifetime of the MetaWindow. It seems every GTK+ app does this for some reason at startup. This is really unfortunate, since we'll have to create and destroy a new MetaWindow really quickly. |
||
---|---|---|
.. | ||
protocol | ||
meta-wayland-data-device.c | ||
meta-wayland-data-device.h | ||
meta-wayland-keyboard.c | ||
meta-wayland-keyboard.h | ||
meta-wayland-outputs.c | ||
meta-wayland-outputs.h | ||
meta-wayland-pointer.c | ||
meta-wayland-pointer.h | ||
meta-wayland-private.h | ||
meta-wayland-seat.c | ||
meta-wayland-seat.h | ||
meta-wayland-surface.c | ||
meta-wayland-surface.h | ||
meta-wayland-types.h | ||
meta-wayland-versions.h | ||
meta-wayland.c | ||
meta-wayland.h | ||
meta-xwayland-private.h | ||
meta-xwayland.c | ||
meta-xwayland.h | ||
window-wayland.c | ||
window-wayland.h |