lp:~compiz-team/compiz/compiz.fix_1085591

Created by Sam Spilsbury on 2012-12-03 and last modified on 2012-12-05
Get this branch:
bzr branch lp:~compiz-team/compiz/compiz.fix_1085591
Members of Compiz Maintainers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Compiz Maintainers
Project:
Compiz
Status:
Merged

Recent revisions

3513. By Sam Spilsbury on 2012-12-05

Remove redundant function

3512. By Sam Spilsbury on 2012-12-05

Don't destroy wmSnSelectionWindow on shutdown.

Because we haven't changed our active event mask
to remove SubstructureRedirectMask, other ICCCM
compliant window managers may receive a DestroyNotify
(eg, because we're blocked on XSync) before we get
a chance to close our display connection and remove
our SubstructureRedirectMask. That will cause them
to fail to start.

The selection window is destroyed anyways when we
close our connection, and that is a very accurate
indicator to other WM's that we are well and truly
gone because the protocol requires the implementation
to remove all client event masks before destroying
windows.

Now ReplaceOtherWMSlow doesn't seem to fail at all
because "another WM was running"

3511. By Sam Spilsbury on 2012-12-05

Added README

3510. By Sam Spilsbury on 2012-12-05

Whitespace

3509. By Sam Spilsbury on 2012-12-05

Keep the old compiz stopped for longer periods

3508. By Sam Spilsbury on 2012-12-05

Added acceptance tests for --replace behaviour.

SIGINTClosesDown just tests that sending SIGINT closes
the running instance

ReplaceOtherWMFast is a test for --replace behaviour to make
sure that the old one dies and the new one comes up

ReplaceOtherWMSlow slows down the old instance by continually
stopping and starting it, and might trigger race conditions
that prevent the new one from starting up properly.

These tests are not run automatically as they are inherently
flakey and timing-based

3507. By Sam Spilsbury on 2012-12-05

Move AsyncTask into its own separate static library

3506. By Sam Spilsbury on 2012-12-05

Refactored the threading logic into AsyncThread

3505. By Sam Spilsbury on 2012-12-04

Do entry through a boost::function

3504. By Sam Spilsbury on 2012-12-04

Make the message checks more generic

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:compiz/0.9.9
This branch contains Public information 
Everyone can see this information.