~ps-jenkins/compiz/latestsnapshot-10.9.9daily13.06.1913.04-0ubuntu1

« back to all changes in this revision

Viewing changes to plugins/put/src/put.cpp

  • Committer: Tarmac
  • Author(s): Daniel van Vugt
  • Date: 2013-04-02 19:24:11 UTC
  • mfrom: (3643.1.3 back-to-raring)
  • Revision ID: tarmac-20130402192411-8jqkwbion75aazvt
Make lp:compiz/0.9.9 identical to lp:compiz/raring, so we can use it for 
raring maintenance and eliminate lp:compiz/raring.

The changes that this proposal "undoes" have not been lost. They have just
moved to the new development series: lp:compiz/0.9.10 (lp:compiz now points
to this).

Approved by PS Jenkins bot, Sam Spilsbury.

Show diffs side-by-side

added added

removed removed

Lines of Context:
328
328
    w->move (pw->targetX - w->x (),
329
329
             pw->targetY - w->y (),
330
330
             true);
 
331
    w->syncPosition ();
331
332
 
332
333
    if (w->state () & (MAXIMIZE_STATE | CompWindowStateFullscreenMask))
333
334
        w->updateAttributes (CompStackingUpdateModeNone);
1180
1181
                       CompOption::Vector &option,
1181
1182
                       int vp)
1182
1183
{
1183
 
    unsigned int index;
1184
 
    if (CompOption::findOption (option, "viewport", &index) == NULL)
1185
 
    {
1186
 
        int last = option.size ();
1187
 
        option.resize(last+1);
1188
 
        option[last].setName ("viewport",CompOption::TypeInt);
1189
 
        option[last].value ().set (vp-1);
1190
 
    }
1191
 
    else
1192
 
    {
1193
 
        option[index].value ().set (vp-1);
1194
 
    }
 
1184
    int last = option.size ();
 
1185
    option.resize(last+1);
 
1186
    option[last].setName ("viewport",CompOption::TypeInt);
 
1187
    option[last].value ().set (vp-1);
1195
1188
 
1196
1189
    return initiateCommon (action, state, option, (PutType) PutViewport);
1197
1190
}