~hypodermia/ubuntu/oneiric/compiz/fix-for-bug-301174

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2011-04-07 18:06:44 UTC
  • mfrom: (0.168.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20110407180644-7xwnirf7k3zotc2w
Tags: 1:0.9.4+bzr20110407-0ubuntu2
* New upstream snapshot:
  - fix unity-window-decorator crashed with SIGSEGV in event_filter_funct
    (LP: #711561)
* debian/patches/086_new_grid_defaults.patch:
  - change threshold to 15 on sides and 20 on top to work well with the new
    animtion
* debian/patches/01_bzr_fix_grid_on_multimonitor.patch,
  01_bzr_fix_resize.patch, 01_bzr_fix_grid_premultiply.patch:
  - from upstream bzr, fix grid on multimonitor and colors handling
* debian/patches/086_new_grid_defaults.patch,
  debian/patches/029_default_options.patch:
  - set the resize grid shadow to orange (LP: #752711)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1010
1010
                {
1011
1011
                    WnckWindow *p = wnck_window_get (parent);
1012
1012
                    decor_t *d = g_object_get_data (G_OBJECT (p), "decor");
1013
 
                    decor_t *d_transient = g_object_get_data (G_OBJECT (p), "decor");
1014
 
 
1015
 
                    if (g_slist_find (d->transient_windows, p))
1016
 
                        break;
1017
 
 
1018
 
                    if (d)
 
1013
                    decor_t *d_transient = g_object_get_data (G_OBJECT (win), "decor");
 
1014
 
 
1015
                    if (p)
1019
1016
                    {
1020
 
                        d->transient_windows = g_slist_append (d->transient_windows, win);
1021
 
                        d_transient->transient_parent = p;
 
1017
                        if (d)
 
1018
                        {
 
1019
                            if (g_slist_find (d->transient_windows, win))
 
1020
                                break;
 
1021
                            d->transient_windows = g_slist_append (d->transient_windows, win);
 
1022
                            d_transient->transient_parent = p;
 
1023
                        }
1022
1024
                    }
1023
1025
                }
1024
1026
            }