GNOME Bugzilla – Bug 694905
Layout: don't minimize fullscreen windows that are focused
Last modified: 2013-03-01 17:23:55 UTC
It happens from time to time that I have override redirect windows that are not apparently related to any running application (xkill doesn't tear down anything visible). They are 1x1 and 1px outside the screen, just like those created by meta_screen_create_offscreen_window(), but they're not in the same XID range as the running shell. Because they're override redirect, they're at the top of the stack, so when these appears I can no longer use fullscreen windows. This patch is mostly a workaround for that.
Created attachment 237662 [details] [review] Layout: don't minimize fullscreen windows that are focused Windows can sometimes be focused, or appear to be focused, without being at the exact top of the stack, for example in the case of override-redirect windows, or with attached modal dialogs. In that case, we should not try to minimize them (as it creates a loop that makes it impossible to restore the window)
Review of attachment 237662 [details] [review]: Makes sense and should also fix bug 694547
(In reply to comment #2) > Review of attachment 237662 [details] [review]: > > Makes sense and should also fix bug 694547 Hmm not sure about bug 694547 after thinking about it ... but well this patch fixes at least this bug so ok.
Review of attachment 237662 [details] [review]: Doesn't seem to be on top of master with the log statement -- I assume you'll rebase?
Attachment 237662 [details] pushed as b6bf8d5 - Layout: don't minimize fullscreen windows that are focused