Merge lp:~sil2100/compiz-core/fix-988684-0.9.7 into lp:compiz-core

Proposed by Łukasz Zemczak
Status: Rejected
Rejected by: Daniel van Vugt
Proposed branch: lp:~sil2100/compiz-core/fix-988684-0.9.7
Merge into: lp:compiz-core
Diff against target: 12 lines (+3/-0)
1 file modified
src/screen.cpp (+3/-0)
To merge this branch: bzr merge lp:~sil2100/compiz-core/fix-988684-0.9.7
Reviewer Review Type Date Requested Status
Daniel van Vugt Disapprove
Review via email: mp+111028@code.launchpad.net

Commit message

Cherry-picked from compiz trunk (rev 3115):
Don't clear selections in ~PrivateScreen because it causes a race between the existing and the new compiz instances, breaking --replace and non-replace behaviour. (LP: #988684) (LP: #989545)

Description of the change

Cherry-picked from trunk, original description:

Don't clear selections in ~PrivateScreen because it causes a race between
the existing and the new compiz instances, breaking --replace and non-replace
behaviour. (LP: #988684) (LP: #989545)

This simply deletes two lines of code I introduced in my cleanup r3108.

To post a comment you must log in.
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Rejected. Most of the fix is missing because the bug itself does not exist in 0.9.7!

https://bugs.launchpad.net/compiz-core/+bug/988684/comments/5

review: Disapprove
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Also, the call to XFreeCursor is actually not required. It will be freed by XCloseDisplay().

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Excellent, thanks for the info!

Unmerged revisions

3104. By Łukasz Zemczak

Cherry-picked from compiz trunk (rev 3115):
Don't clear selections in ~PrivateScreen because it causes a race between the existing and the new compiz instances, breaking --replace and non-replace behaviour. (LP: #988684) (LP: #989545)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/screen.cpp'
2--- src/screen.cpp 2012-03-30 06:26:33 +0000
3+++ src/screen.cpp 2012-06-19 14:34:26 +0000
4@@ -5224,6 +5224,9 @@
5 if (snContext)
6 sn_monitor_context_unref (snContext);
7
8+ if (invisibleCursor != None)
9+ XFreeCursor (dpy, invisibleCursor);
10+
11 XCloseDisplay (dpy);
12 }
13

Subscribers

People subscribed via source and target branches