GNOME Bugzilla – Bug 729886
workspace: Don't allow closing windows with attached modals
Last modified: 2014-05-28 20:05:46 UTC
See patch.
Created attachment 276254 [details] [review] workspace: Don't allow closing windows with attached modals Modal dialogs prevent the parent from being closed in "normal mode", so it makes sense to not allow it in the overview either.
Review of attachment 276254 [details] [review]: ::: js/ui/workspace.js @@ +202,3 @@ + hasAttachedDialogs: function() { + return this.actor.get_n_children() > 1; Don't we have a better way to check for that? (I can't think of any non ugly one) so seems fine.
Attachment 276254 [details] pushed as 3ff4277 - workspace: Don't allow closing windows with attached modals