[ShellApp] Signal windows-changed when removing a window
https://bugzilla.gnome.org/show_bug.cgi?id=599412
This commit is contained in:
parent
17c8173640
commit
369e0c2c6f
@ -329,6 +329,8 @@ _shell_app_remove_window (ShellApp *app,
|
|||||||
g_object_unref (window);
|
g_object_unref (window);
|
||||||
app->windows = g_slist_remove (app->windows, window);
|
app->windows = g_slist_remove (app->windows, window);
|
||||||
|
|
||||||
|
g_signal_emit (app, shell_app_signals[WINDOWS_CHANGED], 0);
|
||||||
|
|
||||||
if (app->windows == NULL)
|
if (app->windows == NULL)
|
||||||
disconnect_workspace_switch (app);
|
disconnect_workspace_switch (app);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user