~samuel-thibault/compiz/clone

Viewing all changes in revision 4144.

  • Committer: Samuel Thibault
  • Date: 2018-07-05 12:44:20 UTC
  • Revision ID: samuel.thibault@ens-lyon.org-20180705124420-qebg80noymug622r
Fix ezooom when randr is in clone mode

- This adds CompScreenImpl::outputDev which returns the CompOutput corresponding
to a CompOutput id, but special-case id ~0 and return the fullscreen CompOutput
in that case.
- This makes ezoom use it instead of indexing within screen->outputDevs.
- This makes out < 0 a valid output
- This redirect zooms.at () to use ZoomArea 0 when out < 0 (fullscreen output case).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: