mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 13:24:09 +00:00
wayland: Disconnect signal when the display closes
It would be potentially left dangling if the display were closed, and reconnected again when restarting the server. https://gitlab.gnome.org/GNOME/mutter/merge_requests/709
This commit is contained in:
parent
8b62f4884d
commit
9a10b8ff94
@ -638,6 +638,9 @@ static void
|
|||||||
on_x11_display_closing (MetaDisplay *display)
|
on_x11_display_closing (MetaDisplay *display)
|
||||||
{
|
{
|
||||||
meta_xwayland_shutdown_dnd ();
|
meta_xwayland_shutdown_dnd ();
|
||||||
|
g_signal_handlers_disconnect_by_func (display,
|
||||||
|
on_x11_display_closing,
|
||||||
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* To be called right after connecting */
|
/* To be called right after connecting */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user