mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
xwayland: Unset shutdown idle id when source removed by callback
We failed to do this when the experimental "auto-close Xwayland" setting was not enabled. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1796>
This commit is contained in:
parent
1dd79c52ad
commit
257ccf5e80
@ -597,7 +597,10 @@ shutdown_xwayland_cb (gpointer data)
|
||||
|
||||
if (!meta_settings_is_experimental_feature_enabled (meta_backend_get_settings (backend),
|
||||
META_EXPERIMENTAL_FEATURE_AUTOCLOSE_XWAYLAND))
|
||||
return G_SOURCE_REMOVE;
|
||||
{
|
||||
manager->xserver_grace_period_id = 0;
|
||||
return G_SOURCE_REMOVE;
|
||||
}
|
||||
|
||||
if (display->x11_display &&
|
||||
!can_terminate_xwayland (display->x11_display->xdisplay))
|
||||
|
Loading…
Reference in New Issue
Block a user