Comment 3 for bug 704231

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote : Re: Unity steals <super> modifier key

This is a compiz bug which grabs the key even when the functions are returning False:
In the unity code:

bool
UnityScreen::showLauncherKeyInitiate (CompAction *action,
                                      CompAction::State state,
                                      CompOption::Vector &options)
{
  // to receive the Terminate event
  if (state & CompAction::StateInitKey)
    action->setState (action->state () | CompAction::StateTermKey);

  launcher->ForceShowLauncherStart ();
  return false;
}

bool
UnityScreen::showLauncherKeyTerminate (CompAction *action,
                                       CompAction::State state,
                                       CompOption::Vector &options)
{
  launcher->ForceShowLauncherEnd ();
  return false;
}

--------------------
Sam told:
11:04:03 smspillaz | didrocks: I mean, I guess I could make a returning false action do XPutBackEvent