~ubuntu-branches/ubuntu/wily/mutter/wily

« back to all changes in this revision

Viewing changes to .pc/03_strict_focus.patch/src/core/workspace.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-11-30 10:56:20 UTC
  • Revision ID: james.westby@ubuntu.com-20101130105620-5pg8qjx4fn4nt00b
Tags: 2.91.3-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
618
618
   meta_screen_calc_workspace_layout (workspace->screen, num_workspaces,
619
619
                                      new_space, &layout2);
620
620
 
621
 
   if (layout1.current_col < layout2.current_col)
622
 
     direction = META_MOTION_RIGHT;
623
 
   if (layout1.current_col > layout2.current_col)
624
 
     direction = META_MOTION_LEFT;
 
621
   if (meta_ui_get_direction() == META_UI_DIRECTION_RTL)
 
622
     {
 
623
       if (layout1.current_col > layout2.current_col)
 
624
         direction = META_MOTION_RIGHT;
 
625
       else if (layout1.current_col < layout2.current_col)
 
626
         direction = META_MOTION_LEFT;
 
627
     }
 
628
   else
 
629
    {
 
630
       if (layout1.current_col < layout2.current_col)
 
631
         direction = META_MOTION_RIGHT;
 
632
       else if (layout1.current_col > layout2.current_col)
 
633
         direction = META_MOTION_LEFT;
 
634
    }
625
635
 
626
636
   if (layout1.current_row < layout2.current_row)
627
637
     {