Cherry-picked as https://git.launchpad.net/compiz/commit/?id=4d329be1b782b6664f86b309d76cc793ed238a11. -- https://code.launchpad.net/~compiz-team/compiz/+git/compiz/+merge/363215 Your team Compiz Maintainers is requested to review the proposed merge of compiz:mitya57/fix-grabbing into compiz:master.