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

« back to all changes in this revision

Viewing changes to targets/mutter/window-management.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:
134
134
      this.plugin.plugin.minimize_completed (window);
135
135
    }
136
136
 
137
 
    private bool force_activate ()
138
 
    {
139
 
      if (this.last_mapped is Mutter.Window)
140
 
        {
141
 
          unowned Mutter.MetaWindow w = this.last_mapped.get_meta_window ();
142
 
          unowned Mutter.MetaDisplay d = Mutter.MetaWindow.get_display (w);
143
 
 
144
 
          Mutter.MetaWindow.activate (this.last_mapped.get_meta_window (),
145
 
                                      Mutter.MetaDisplay.get_current_time (d));
146
 
        }
147
 
 
148
 
      return false;
149
 
    }
150
 
 
151
137
    private void window_mapped (Plugin plugin, Mutter.Window window)
152
138
    {
153
139
      int type = window.get_window_type ();
169
155
                                      Mutter.MetaWindow.get_user_time (
170
156
                                            window.get_meta_window ()));
171
157
          this.last_mapped = window;
172
 
          Idle.add (this.force_activate);
173
158
        }
174
159
 
175
160
      Clutter.Animation anim = null;