mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 09:46:08 -05:00
eb0e658c99
Since appears-focus only propagates up from modal dialogs, if an application removed the modal hint from a dialog before destroying it, then its parent would be left with a stray reference to it in attached_focus_window, causing it to be permanently appears-focused. The obvious fix, calling meta_window_propagate_focus_appearance() when the modal hint is removed, tends to cause noticeable flashing, because the window will get drawn unfocused and then focused again. So instead we just change meta_window_propagate_focus_appearance() to check the window type only when focusing in, not when focusing out. This would also cause flashing, but in this case we can avoid it by not notifying the change in appears-focus on the parent window if it is the expected_focus_window (which it will be by this point). (This does mean though that if something weird happens and the window doesn't end up becoming the focus window, it won't get redrawn unfocused until something else forces it to.) https://bugzilla.gnome.org/show_bug.cgi?id=647613 |
||
---|---|---|
.. | ||
compositor | ||
core | ||
meta | ||
tools | ||
ui | ||
wm-tester | ||
.cvsignore | ||
default_icon.png | ||
libmutter.pc.in | ||
Makefile.am | ||
mutter-enum-types.c.in | ||
mutter-enum-types.h.in | ||
mutter-marshal.list | ||
mutter-plugins.pc.in | ||
mutter-wm.desktop.in | ||
mutter.desktop.in | ||
mutter.schemas.in | ||
run-mutter.sh | ||
stock_delete.png | ||
stock_maximize.png | ||
stock_minimize.png |