~compiz-team/compiz-workarounds-plugin/compiz-workarounds-plugin.add_tests

Viewing all changes in revision 106.

  • Committer: Sam Spilsbury
  • Date: 2010-10-26 14:43:27 UTC
  • Revision ID: git-v1:966542d39240adc926b9259b1d26e92ef3229072
Don't unminimize transients when the window is being destroyed

Unminimizing the transients means that we have to loop the window list
in the ::~WorkaroundsWindow stage, and we don't know which of our windows
have already been destroyed (which is problematic for ::get ()). Since
the transients of windows are likely to be destroyed along with the main
window and and also during the entire plugin tear-down phase we are unminimizing
each individual window, there is no need to also unminimize transients for
each window.

FIXME: We should really implement a ::fini stage where we can guaruntee that
nothing has been destroyed

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: