• ZenWalker's avatar
    boxes: Actually check for rectangle containment · 31816477
    ZenWalker authored
    Fixes condition duplicated:
    
              /* If a contains b, just remove b */
              if (meta_rectangle_contains_rect (a, b))
                {
                  delete_me = other;
                }
              /* If b contains a, just remove a */
              else if (meta_rectangle_contains_rect (a, b))
                {
                  delete_me = compare;
                }
    
    Closes GNOME/mutter#480
    31816477
boxes.c 70.9 KB