- Disable cascadeFindFirstFit
The cause of segfault, so reference to null pointer
std::sort (belowSorted.begin(), belowSorted.end(), compareTopmost);
I got the log message using compLogMessage() function.
You can got the message in console, to do this, type #compiz --replace ccp

- Fixed to cascadeFindNext function
If we go off the screen, start over with a new cascade.
I fixed to error condition: cascadeY + winHeight > workArea.bottom()
There was an logical error on calculating of window position(x,y)
e.g. 465+434 > 900 in this case: error occured(no next to cascade)

In my opinion, First, cascadeFindFirstFit function was not completed, so useless
Second, my patch is tricky, so need to improve.
Good review for this patch would be welcome!


** Patch added: "cascade_mode_segfault.patch"
   
https://bugs.launchpad.net/compiz/+bug/1302098/+attachment/4217889/+files/cascade_mode_segfault.patch

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1302098

Title:
  Windows cascading mode cause segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1302098/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~compiz
Post to     : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp

Reply via email to