Fix Multimonitor windows preventing workspaces from closing (#357)

Use on_all_workspaces instead of is_always_on_all_workspaces()
This commit is contained in:
Felipe Escoto 2018-10-17 09:56:41 -05:00 committed by Rico Tzschichholz
parent feffbf8a93
commit fe9f48ae09

View File

@ -209,7 +209,7 @@ namespace Gala
{
var n = 0;
foreach (weak Meta.Window window in workspace.list_windows ()) {
if (window.is_always_on_all_workspaces ())
if (window.on_all_workspaces)
continue;
if (window.window_type == Meta.WindowType.NORMAL ||
window.window_type == Meta.WindowType.DIALOG ||