~kelemeng/compiz-core/bug780505

« back to all changes in this revision

Viewing changes to src/event.cpp

  • Committer: smspillaz
  • Author(s): Daniel van Vugt
  • Date: 2012-02-07 09:17:28 UTC
  • mfrom: (2979.1.1 fix-925979)
  • Revision ID: sam.spilsbury@canonical.com-20120207091728-8c967zbtmi1kcnw6
Fix regression: Compiz failed to pass key events through to other apps/windows in some cases (LP: #925979)

Revert back to how the code looked in the previous release (and oneiric).

Merge lp:~vanvugt/compiz-core/fix-925979 into lp:compiz-core

Show diffs side-by-side

added added

removed removed

Lines of Context:
1024
1024
        switch (event->type)
1025
1025
        {
1026
1026
            case KeyPress:
1027
 
              if (event->xkey.state)
1028
1027
                XUngrabKeyboard (priv->dpy, event->xkey.time);
1029
 
              break;
 
1028
                break;
1030
1029
            default:
1031
1030
                break;
1032
1031
        }