~ubuntu-branches/ubuntu/oneiric/compiz/oneiric

« back to all changes in this revision

Viewing changes to unity/unity_window_decorator/src/metacity.c

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2011-09-28 14:15:21 UTC
  • mfrom: (0.168.12 upstream)
  • Revision ID: package-import@ubuntu.com-20110928141521-sf8s523pqyptq61f
Tags: 1:0.9.6-0ubuntu1
* New upstream release 0.9.6:
 - Windows which are marked transients of docks should be treated like docks (LP: #860397)
 - Applications which create multiple windows that are transients of each other can be given invalid stack positions (LP: #858625)
 - race condition in configureXWindow causes unpredicatable window geometry changes (LP: #860304)
 - invisible window when a window is mapped but not yet drawn on by the process mapping it (LP: #860286)
 - resizing bugs with xterm (LP: #854725)
 - Cannot open a window that starts iconified (LP: #732997)
 - maximized windows fail to update their input extents when undecorated (LP: #853734)
 - Clicking on a tweet/message link sometimes does not work (LP: #790565)
 - crash on closing a window (LP: #856015)
 - Windows move to 0,0 on compiz restarts (LP: #858629)
 - windows that are decorated while resizing can cause incorrect resize results (LP: #860306)
 - remove transient window handling from unity-window-decorator (LP: #856096)

Show diffs side-by-side

added added

removed removed

Lines of Context:
526
526
 
527
527
    if (d->active)
528
528
        *flags |= (MetaFrameFlags ) META_FRAME_HAS_FOCUS;
529
 
    else if (d->transient_windows)
530
 
    {
531
 
        GSList  *transient_windows = d->transient_windows;
532
 
 
533
 
        for (; transient_windows;
534
 
             transient_windows = transient_windows->next)
535
 
        {
536
 
            if (!transient_windows->data)
537
 
                continue;
538
 
 
539
 
            decor_t *d_transient = g_object_get_data (transient_windows->data, "decor");
540
 
 
541
 
            if (d_transient)
542
 
            {
543
 
                if (d_transient->active)
544
 
                {
545
 
                    *flags |= (MetaFrameFlags ) META_FRAME_HAS_FOCUS;
546
 
                    break;
547
 
                }
548
 
            }
549
 
        }
550
 
    }
551
529
 
552
530
    if ((d->state & META_MAXIMIZED) == META_MAXIMIZED)
553
531
        *flags |= (MetaFrameFlags ) META_FRAME_MAXIMIZED;