~ubuntu-branches/ubuntu/maverick/unity/maverick

« back to all changes in this revision

Viewing changes to targets/mutter/plugin.vala

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-09-17 14:02:54 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20100917140254-6cbue12klia2f07l
Tags: 0.2.40-0ubuntu1
* New upstream release:
  - Fix inactive menus accessible (LP: #604505)
  - Fix some more memory leaks (LP: #604777, #621690, #628144)
  - Fix weird behaviors of quicklist (LP: #617339)
  - Provide an "open this folder" button (LP: #633201)
  - Hidden menu causing gap (LP: #600191)
  - Cannot go fullscreen for flash videos (LP: #631381)
  - Can't access menu items from the keyboard (LP: #636728)
  - Don't register for MDRAGs since they aren't used (LP: #632613)
  - Don't run indicator on special launchers (LP: #627488)
  - Center arrows position in folded launcher tiles (LP: #633084)
  - Launcher icons first appear as white upon login (LP: #601093)
  - Removes jittering when rubber band is in use on the launcher (LP: #632991)
  - Mutter restarts on closing almost any application (LP: #634701)
  - Can't launch apps like synaptic with root privileges from launch bar
    (LP: #599298)
  - Launcher tile dragging shouldn't be masked (LP: #631443)
  - Fix Carousel-ed icons have distorted perspective (LP: #607515)
  - Use no longer sync call (LP: #620011)
* update debian/libunity0.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
1407
1407
          Idle.add (() => {
1408
1408
            if (win is Object)
1409
1409
              {
1410
 
                if (Utils.window_is_decorated (Mutter.MetaWindow.get_xwindow (win)) == false && Mutter.MetaWindow.is_maximized (win) == false)
 
1410
                bool decorated  = Utils.window_is_decorated (Mutter.MetaWindow.get_xwindow (win));
 
1411
                bool maximized  = Mutter.MetaWindow.is_maximized (win);
 
1412
                
 
1413
                bool fullscreen;
 
1414
                win.get ("fullscreen", out fullscreen);
 
1415
                
 
1416
                if (!decorated && !maximized)
1411
1417
                  {
1412
1418
                    window.set_data (UNDECORATED_HINT, "%s".printf ("true"));
1413
1419
                  }
1414
 
                else
 
1420
                else if (decorated && maximized && !fullscreen)
1415
1421
                  {
1416
 
                    if (Mutter.MetaWindow.is_maximized (win))
1417
 
                      {
1418
 
                        Utils.window_set_decorations (Mutter.MetaWindow.get_xwindow (win), 0);
1419
 
                      }
 
1422
                    Utils.window_set_decorations (Mutter.MetaWindow.get_xwindow (win), 0);
1420
1423
                  }
1421
1424
              }
1422
1425