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

« back to all changes in this revision

Viewing changes to targets/mutter/plugin.c

  • 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:
1796
1796
        gboolean result = FALSE;
1797
1797
        self = _data6_->self;
1798
1798
        if (G_IS_OBJECT (_data6_->win)) {
 
1799
                gboolean decorated;
 
1800
                gboolean maximized;
 
1801
                gboolean fullscreen = FALSE;
1799
1802
                gboolean _tmp0_ = FALSE;
1800
 
                if (utils_window_is_decorated (meta_window_get_xwindow (_data6_->win)) == FALSE) {
1801
 
                        _tmp0_ = meta_window_is_maximized (_data6_->win) == FALSE;
 
1803
                decorated = utils_window_is_decorated (meta_window_get_xwindow (_data6_->win));
 
1804
                maximized = meta_window_is_maximized (_data6_->win);
 
1805
                g_object_get ((GObject*) _data6_->win, "fullscreen", &fullscreen, NULL);
 
1806
                if (!decorated) {
 
1807
                        _tmp0_ = !maximized;
1802
1808
                } else {
1803
1809
                        _tmp0_ = FALSE;
1804
1810
                }
1805
1811
                if (_tmp0_) {
1806
1812
                        g_object_set_data_full ((GObject*) _data6_->window, UNITY_PLUGIN_UNDECORATED_HINT, g_strdup_printf ("%s", "true"), g_free);
1807
1813
                } else {
1808
 
                        if (meta_window_is_maximized (_data6_->win)) {
 
1814
                        gboolean _tmp1_ = FALSE;
 
1815
                        gboolean _tmp2_ = FALSE;
 
1816
                        if (decorated) {
 
1817
                                _tmp2_ = maximized;
 
1818
                        } else {
 
1819
                                _tmp2_ = FALSE;
 
1820
                        }
 
1821
                        if (_tmp2_) {
 
1822
                                _tmp1_ = !fullscreen;
 
1823
                        } else {
 
1824
                                _tmp1_ = FALSE;
 
1825
                        }
 
1826
                        if (_tmp1_) {
1809
1827
                                utils_window_set_decorations (meta_window_get_xwindow (_data6_->win), (guint) 0);
1810
1828
                        }
1811
1829
                }