~gerboland/qtubuntu/active-decision-refactor

« back to all changes in this revision

Viewing changes to src/ubuntumirclient/input.cpp

  • Committer: Bileto Bot
  • Author(s): Daniel d'Andrada
  • Date: 2016-08-31 01:51:15 UTC
  • mfrom: (338.2.1 content-hub-clipboard)
  • Revision ID: ci-train-bot@canonical.com-20160831015115-u54prby4x2ypqu03
Use content-hub for clipboard services (LP: #1471998)

Approved by: Ken VanDine

Show diffs side-by-side

added added

removed removed

Lines of Context:
610
610
        // so that we don't deactivate windows prematurely.
611
611
        if (focused) {
612
612
            mPendingFocusGainedEvents--;
613
 
            window->handleSurfaceFocused();
614
613
            QWindowSystemInterface::handleWindowActivated(window->window(), Qt::ActiveWindowFocusReason);
615
614
 
616
615
            // NB: Since processing of system events is queued, never check qGuiApp->applicationState()