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

« back to all changes in this revision

Viewing changes to plugins/opengl/src/paint.cpp

  • 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:
241
241
 
242
242
            if (!w->shaded ())
243
243
            {
244
 
                if (!w->isViewable () ||
245
 
                    !CompositeWindow::get (w)->damaged ())
 
244
                /* Non-damaged windows don't have valid pixmap
 
245
                 * contents and we aren't displaying them yet
 
246
                 * so don't factor them into occlusion detection */
 
247
                if (!gw->priv->cWindow->damaged ())
 
248
                {
 
249
                    gw->priv->clip = region;
 
250
                    continue;
 
251
                }
 
252
                if (!w->isViewable ())
246
253
                    continue;
247
254
            }
248
255
 
322
329
 
323
330
        if (!w->shaded ())
324
331
        {
325
 
            if (!w->isViewable () ||
326
 
                !CompositeWindow::get (w)->damaged ())
 
332
            if (!w->isViewable ())
327
333
                continue;
328
334
        }
329
335
 
1171
1177
    if (reg.isEmpty ())
1172
1178
        return true;
1173
1179
 
1174
 
    if (!priv->window->isViewable ())
 
1180
    if (!priv->window->isViewable () ||
 
1181
        !priv->cWindow->damaged ())
1175
1182
        return true;
1176
1183
 
1177
1184
    if (priv->textures.empty () && !bind ())