[Bugs] #2405 UNSP: OS15 0.90 alt tab doesnt work

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Feb 16 14:30:29 EST 2011


#2405: OS15 0.90 alt tab doesnt work
------------------------------------------+---------------------------------
    Reporter:  tonyforster                |          Owner:  tomeu      
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.92       
   Component:  sugar                      |        Version:  0.90.x     
    Severity:  Unspecified                |       Keywords:  olpc-0.90  
Status_field:  New                        |   Distribution:  Unspecified
   Seeta_dev:                             |  
------------------------------------------+---------------------------------

Comment(by erikos):

 As I understand from Bernie's comment the root issue is actually in the X
 server. The commit that should have [http://lists.sugarlabs.org/archive
 /sugar-devel/2010-October/027610.html fixed it] is the following (which is
 part of 1.9.4 the version included in F14):

 {{{
 commit 9a1bfa5664a80f03cedeb89b9f8a86115a08e7af
 Author: Peter Hutterer <peter.hutterer at who-t.net>
 Date:   Mon Jul 20 16:39:16 2009 +1000

     input: remove XI2 keysym grabs, use keycode grabs instead.

     Keysym grabs are tricky in the details, keycode grabs are known to
 work. So
     for now, provide keycode grabs only.

     Requires inputproto 1.9.99.15.

     Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

 diff --git a/dix/grabs.c b/dix/grabs.c
 index 06d6d03..4a351d6 100644
 --- a/dix/grabs.c
 +++ b/dix/grabs.c
 @@ -451,7 +451,7 @@ DeletePassiveGrabFromList(GrabPtr pMinuendGrab)
      any_modifier = (pMinuendGrab->grabtype == GRABTYPE_XI2) ?
                     (unsigned int)XIAnyModifier : (unsigned
 int)AnyModifier;
      any_key = (pMinuendGrab->grabtype == GRABTYPE_XI2) ?
 -                   (unsigned int)XIAnyKeysym : (unsigned int)AnyKey;
 +                   (unsigned int)XIAnyKeycode : (unsigned int)AnyKey;
      ndels = nadds = nups = 0;
      ok = TRUE;
      for (grab = wPassiveGrabs(pMinuendGrab->window);
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2405#comment:8>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list