GNOME Bugzilla – Bug 660650
ShellApp: Junk last_used_time
Last modified: 2011-10-24 20:23:01 UTC
This fixes a lot of tiny bugs with window stacking for me: 1. Opening two windows in the same application, and switching to one of them and closing it will cause the application to be second in place, because mutter updates the LUT when you activate it. Quite surprising. 2. Various applications not ordering correctly in the alt-tab. Totem, for some strange reason, has been one of these applications. 3. Closing one window of an application won't cause a restack and all the windows of an application to be lowered.
Created attachment 197981 [details] [review] ShellApp: Junk last_used_time Instead of saving the last_used_time per-app, grab the maximum time for all windows. The logic is less hard to keep track of, and it solves some edge case issues where windows that no longer exist update the user time, even if none of the other windows have been used recently.
is this the same as bug 645026?
(In reply to comment #2) > is this the same as bug 645026? It's a solution to that bug, but also some others that we wouldn't be able to deal with without special-cased code, like the first of the examples I give. I'm not sure how we should classify this bug.
Review of attachment 197981 [details] [review]: This looks safe to me.
Attachment 197981 [details] pushed as 95de48e - ShellApp: Junk last_used_time