← Back to team overview

compiz team mailing list archive

[Bug 704231] 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


** Also affects: unity
   Importance: Undecided
       Status: New

** Changed in: unity
       Status: New => Triaged

** Changed in: unity
   Importance: Undecided => Medium

** Changed in: unity (Ubuntu)
       Status: New => Invalid

** Also affects: compiz (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: compiz (Ubuntu)
       Status: New => Triaged

** Changed in: compiz (Ubuntu)
   Importance: Undecided => Medium

** Changed in: unity
    Milestone: None => 3.4

** Changed in: unity
     Assignee: (unassigned) => Sam "SmSpillaz" Spilsbury (smspillaz)

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in ubuntu.
https://bugs.launchpad.net/bugs/704231

Title:
  Unity steals <super> modifier key