mirror of
https://github.com/elementary/gala.git
synced 2024-12-29 20:21:39 +03:00
Close window overview when all windows have been closed
This commit is contained in:
parent
792a823ab4
commit
df17ee3b5a
@ -593,13 +593,12 @@ namespace Gala
|
||||
//called when a window has been closed
|
||||
void reposition (WindowThumb removed)
|
||||
{
|
||||
if (get_children ().length () == 0) {
|
||||
close (false);
|
||||
return;
|
||||
}
|
||||
var children = get_children ().copy ();
|
||||
children.remove (removed);
|
||||
calculate_places (children);
|
||||
|
||||
if (get_children ().length () == 0)
|
||||
close (false);
|
||||
}
|
||||
|
||||
void selected (Window window)
|
||||
|
Loading…
Reference in New Issue
Block a user