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

« back to all changes in this revision

Viewing changes to targets/mutter/window-management.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:
94
94
MutterPlugin* unity_plugin_get_plugin (UnityPlugin* self);
95
95
static void unity_window_management_window_minimized_completed (UnityWindowManagement* self, ClutterAnimation* anim);
96
96
static void _unity_window_management_window_minimized_completed_clutter_animation_completed (ClutterAnimation* _sender, gpointer self);
97
 
static gboolean unity_window_management_force_activate (UnityWindowManagement* self);
98
 
static gboolean _unity_window_management_force_activate_gsource_func (gpointer self);
99
97
static void unity_window_management_window_mapped_completed (UnityWindowManagement* self, ClutterAnimation* anim);
100
98
static void _unity_window_management_window_mapped_completed_clutter_animation_completed (ClutterAnimation* _sender, gpointer self);
101
99
static void unity_window_management_window_destroyed_completed (UnityWindowManagement* self, ClutterAnimation* anim);
281
279
}
282
280
 
283
281
 
284
 
static gboolean unity_window_management_force_activate (UnityWindowManagement* self) {
285
 
        gboolean result = FALSE;
286
 
        g_return_val_if_fail (self != NULL, FALSE);
287
 
        if (MUTTER_IS_WINDOW (self->priv->last_mapped)) {
288
 
                MetaWindow* w;
289
 
                MetaDisplay* d;
290
 
                w = mutter_window_get_meta_window (self->priv->last_mapped);
291
 
                d = meta_window_get_display (w);
292
 
                meta_window_activate (mutter_window_get_meta_window (self->priv->last_mapped), meta_display_get_current_time (d));
293
 
        }
294
 
        result = FALSE;
295
 
        return result;
296
 
}
297
 
 
298
 
 
299
 
static gboolean _unity_window_management_force_activate_gsource_func (gpointer self) {
300
 
        gboolean result;
301
 
        result = unity_window_management_force_activate (self);
302
 
        return result;
303
 
}
304
 
 
305
 
 
306
282
static void _unity_window_management_window_mapped_completed_clutter_animation_completed (ClutterAnimation* _sender, gpointer self) {
307
283
        unity_window_management_window_mapped_completed (self, _sender);
308
284
}
351
327
        if (_tmp3_) {
352
328
                meta_window_activate (mutter_window_get_meta_window (window), meta_window_get_user_time (mutter_window_get_meta_window (window)));
353
329
                self->priv->last_mapped = window;
354
 
                g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, _unity_window_management_force_activate_gsource_func, g_object_ref (self), g_object_unref);
355
330
        }
356
331
        anim = NULL;
357
332
        actor = _g_object_ref0 ((_tmp4_ = window, CLUTTER_IS_ACTOR (_tmp4_) ? ((ClutterActor*) _tmp4_) : NULL));