Commit 257ccf5e authored by Jonas Ådahl's avatar Jonas Ådahl
Browse files

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: <!1796>
parent 1dd79c52
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment