Comment 32 for bug 1521302

Revision history for this message
Robert Schlabbach (robert-s-t) wrote :

For the curious and technically savvy, I suppose this is the actual fix:

diff -Nru compiz-0.9.12.2+16.04.20160415/src/window.cpp compiz-0.9.12.2+16.04.20160415/src/window.cpp
--- compiz-0.9.12.2+16.04.20160415/src/window.cpp 2016-04-15 05:30:40.000000000 +0000
+++ compiz-0.9.12.2+16.04.20160415/src/window.cpp 2016-05-12 18:01:52.000000000 +0000
@@ -543,11 +543,11 @@

     recalcType ();
     recalcActions ();
+ stateChangeNotify (oldState);

     if (priv->managed)
  screen->setWindowState (priv->state, priv->id);

- stateChangeNotify (oldState);
     screen->matchPropertyChanged (this);
 }