~mir-team/mir/development-branch

Viewing all changes in revision 1350.

  • Committer: Tarmac
  • Author(s): Daniel d'Andrada
  • Date: 2014-01-23 08:07:03 UTC
  • mfrom: (1340.1.4 SwitchingBundleBug)
  • Revision ID: tarmac-20140123080703-66ltmezgpd1l1ba0
Only use SwitchingBundle::last_consumed after it has been set.

Otherwise SwitchingBundle::compositor_acquire could follow a bogus code path.
(LP: #1270964). Fixes: https://bugs.launchpad.net/bugs/1270964.

Approved by PS Jenkins bot, Daniel van Vugt, Andreas Pokorny, Alexandros Frantzis.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: