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.
This commit is contained in:
@@ -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 */
|
||||||
|
Reference in New Issue
Block a user