mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05: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)
|
||||
{
|
||||
meta_xwayland_shutdown_dnd ();
|
||||
g_signal_handlers_disconnect_by_func (display,
|
||||
on_x11_display_closing,
|
||||
NULL);
|
||||
}
|
||||
|
||||
/* To be called right after connecting */
|
||||
|
Loading…
Reference in New Issue
Block a user