Dont block expose after having used it on an empty workspace

This commit is contained in:
Tom Beckmann 2012-09-07 17:45:12 +02:00
parent 0c7cc611d0
commit 792a823ab4

View File

@ -490,8 +490,6 @@ namespace Gala
return; return;
} }
ready = false;
var used_windows = new SList<Window> (); var used_windows = new SList<Window> ();
var workspace = screen.get_active_workspace (); var workspace = screen.get_active_workspace ();
@ -510,6 +508,8 @@ namespace Gala
if (n_windows == 0) if (n_windows == 0)
return; return;
ready = false;
workspace.window_added.connect (add_window); workspace.window_added.connect (add_window);
workspace.window_removed.connect (remove_window); workspace.window_removed.connect (remove_window);