mirror of
https://github.com/elementary/gala.git
synced 2024-09-11 15:15:39 +03:00
Fix Multimonitor windows preventing workspaces from closing (#357)
Use on_all_workspaces instead of is_always_on_all_workspaces()
This commit is contained in:
parent
feffbf8a93
commit
fe9f48ae09
@ -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 ||
|
||||
|
Loading…
Reference in New Issue
Block a user