lp://staging/~smspillaz/compiz-core/compiz-core.fix_894639

Created by Sam Spilsbury and last modified
Get this branch:
bzr branch lp://staging/~smspillaz/compiz-core/compiz-core.fix_894639
Only Sam Spilsbury can upload to this branch. If you are Sam Spilsbury please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Sam Spilsbury
Project:
Compiz Core
Status:
Development

Recent revisions

2905. By Sam Spilsbury

Made CompWatchFd use Glib::Source and not Glib::IOSource so that we can
properly force fail it when the main loop quits.

2903. By Sam Spilsbury

Merged lp:~robert-ancell/compiz-core/black-box-tests

Fixed some of the tests to ensure that we catch when compiz exits. Also
when compiz restarts, we must add --replace to the function arguments if they
were not already there since the old window would not have been destroyed yet.

When acting on restartSignal, we should fork () as well and print the new compiz
process pid to the stdout so that any parent that is watching us can know the new
compiz process to watch.

In test-runner, we should also watch the existing compiz process for the new pid
and kill that on a timeout when the script finishes rather than killing the old
(non-existent) process.

Removed the use of Glib::RefPtrs around existing event sources since those are known
to be broken. Glib also expects that when a main loop quits, all event sources would
have been dispatched at least once, so force them to dispatch and fail if that is the
case. Separate the sources out from core.

2902. By Sam Spilsbury

Also write the close down pipe when another ICCCM compliant wm tries to
make us go away.

2901. By Sam Spilsbury

Register pipes and signals after we create the event loop but before the X connection is opened.

2900. By Sam Spilsbury

Register for SIGHUP | SIGINT | SIGTERM after creating the pipe in case
someone tries to signal us before the pipe is created

2899. By Sam Spilsbury

Don't use glibmm's refptrs for event sources as they're broken.

2898. By Sam Spilsbury

Make the signal handler communicate with the mainloop via its own event
source as there may be a case where compiz gets SIGINT and never receives
any events.

Branch metadata

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

Subscribers