~muktupavels/metacity/adwaita-icon-theme-lp-1414613

« back to all changes in this revision

Viewing changes to src/place.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-01 12:43:53 UTC
  • mto: (2.2.1 sid) (1.4.2)
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20070501124353-qjwng2k8l9i1afqo
Tags: upstream-2.19.5
ImportĀ upstreamĀ versionĀ 2.19.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
924
924
                                              &workarea);      
925
925
      meta_window_get_outer_rect (window, &outer);
926
926
      
927
 
      if (outer.width >= workarea.width)
928
 
        window->maximize_horizontally_after_placement = TRUE;
929
 
 
930
 
      if (outer.height >= workarea.height)
931
 
        window->maximize_vertically_after_placement = TRUE;
 
927
      /* If the window is bigger than the screen, then automaximize.  Do NOT
 
928
       * auto-maximize the directions independently.  See #419810.
 
929
       */
 
930
      if (outer.width >= workarea.width && outer.height >= workarea.height)
 
931
        {
 
932
          window->maximize_horizontally_after_placement = TRUE;
 
933
          window->maximize_vertically_after_placement = TRUE;
 
934
        }
932
935
    }
933
936
 
934
937
 done_check_denied_focus: