~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
..
window-decorator-kde4 1698 16 years ago Dennis Kasprzyk Added kde-window-decorator KDE 4 port. Diff
CMakeLists.txt 2092 15 years ago Dennis kasprzyk Initial version of CMake build system. 40 bytes Diff Download File