The patch I provided earlier fixed the described problem, but did also create a new problem leading to off-screen windows when two configure notifies were received (first notify was for the actual size change, while the second one was not), and the second configure notify then lead to a change of mPrevSize, while actions for the first configure notify where still being processed.
The new attached patch compiz_fix_monitor_reconfiguration_2.patch fixes this. The new patch introduces mPrevSize2, which holds the actual value that is used to process the configure notify. This value only changes, when a configure notify is received that actually notifies about a change of the desktop size. ** Patch added: "compiz_fix_monitor_reconfiguration_2.patch" https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1656248/+attachment/4818225/+files/compiz_fix_monitor_reconfiguration_2.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1656248 Title: Changing the order of monitors leads to off-screen windows To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1656248/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs