mirror of
https://github.com/elementary/gala.git
synced 2024-12-26 18:53:22 +03:00
fix crash on multimonitors when workspaces-only-on-primary was disabled
This commit is contained in:
parent
470a071595
commit
a276a56d67
@ -120,7 +120,8 @@ namespace Gala
|
||||
|
||||
void window_added (Workspace? workspace, Window window)
|
||||
{
|
||||
if (workspace == null || !Prefs.get_dynamic_workspaces ())
|
||||
if (workspace == null || !Prefs.get_dynamic_workspaces ()
|
||||
|| window.on_all_workspaces)
|
||||
return;
|
||||
|
||||
unowned Screen screen = workspace.get_screen ();
|
||||
|
Loading…
Reference in New Issue
Block a user