Fix for removing activity from donut when not the active and the last one
This commit is contained in:
parent
204661329b
commit
5766522f53
@ -201,7 +201,9 @@ class HomeModel(gobject.GObject):
|
||||
def _remove_activity(self, home_activity):
|
||||
if home_activity == self._active_activity:
|
||||
self._set_active_activity(None)
|
||||
# Figure out the new _pending_activity.
|
||||
|
||||
if home_activity == self._pending_activity:
|
||||
# Figure out the new _pending_activity
|
||||
windows = wnck.screen_get_default().get_windows_stacked()
|
||||
windows.reverse()
|
||||
for window in windows:
|
||||
|
Loading…
Reference in New Issue
Block a user