wmshutdown: Destroy dialog window before shutting down. This is especially useful for suspending or hibernating. After turning the computer back on, the wmshutdown dialog would still be open from before, and clicking on the dockapp would n...

This commit is contained in:
Torrance, Douglas 2018-12-08 15:03:46 +00:00 committed by Carlos R. Mafra
parent a01f239aca
commit c177247360

View file

@ -116,6 +116,8 @@ void handle_click(GtkWidget *widget, gpointer data)
gchar *method = (gchar *)data;
fecha();
connection = g_bus_get_sync(G_BUS_TYPE_SYSTEM, NULL, &error);
message = g_dbus_message_new_method_call(
NULL,