~robertcarr/compiz-core/with-stackfixes

  • Committer: Sam Spilsbury
  • Date: 2011-09-10 08:10:44 UTC
  • Revision ID: sam.spilsbury@canonical.com-20110910081044-3qtw0hbcv1y22me7
Immediately remove destroyed windows from the stacks last sent to the server
and last received from the server.

Having destroyed windows there was used as a means to have plugins keep references
to them for, eg, close animations. However, keeping them there meant that we needed
to resort to ugly hacks like setting the id to 0 and explicitly ignoring them in the
plugins if they were destroyed. It also meant that there could be stack sync problems
since a window could be restacked relative to an older destroyed window that was still
in the stack.

Now destroyed windows are pushed into a separate stack in the API and accessible only
through there. The composite plugin was also changed to paint both referenced destroyed
windows (since their textures are still valid) and also normal windows in the case
that there are referenced destroyed windows. This may require some changes in plugins
which might use screen->findWindow () or screen->windows () in order to locate or
process destroyed windows - they should use the composite plugin's getWindowPaintList
instead or also process screen->destroyedWindows ()
Filename Latest Rev Last Changed Committer Comment Size
..
core 1992 15 years ago Dennis Kasprzyk Merge CompCore and CompDisplay into CompScreen cla Diff
CMakeLists.txt 2549 14 years ago Sam Spilsbury Added DESTDIR support for packaging 160 bytes Diff Download File
compiz-common.h.in 2755.4.4 12 years ago Sam Spilsbury Add a proper set of a release targets in the CMake 98 bytes Diff Download File
compiz.h 2753.2.5 12 years ago Sam Spilsbury Added PluginClassHandler test 3.3 KB Diff Download File
decoration.h 2733.1.17 13 years ago Sam Spilsbury Remove DECOR_NORMAL_ATOM_NAME, the API is now to p 12.2 KB Diff Download File