~kamstrup/compiz-core/plugin-build-dir-fix

« back to all changes in this revision

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

  • Committer: smspillaz
  • Author(s): Daniel van Vugt
  • Date: 2012-01-25 13:49:06 UTC
  • mfrom: (2961.3.1 fix-921451)
  • Revision ID: sam.spilsbury@canonical.com-20120125134906-kgjh5oa17o1bkqwu
Fix uninitialized variable warnings in valgrind (LP: #921451)

Merge lp:~vanvugt/compiz-core/fix-921451 into lp:compiz-core

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
COMPIZ_PLUGIN_20090315 (switcher, SwitchPluginVTable)
29
29
 
 
30
#define XWINDOWCHANGES_INIT {0, 0, 0, 0, 0, None, 0}
 
31
 
30
32
static float _boxVertices[] =
31
33
{
32
34
    -(WIDTH >> 1), 0,
77
79
    {
78
80
        CompWindow *w = screen->findWindow (popupWindow);
79
81
 
80
 
        XWindowChanges xwc;
 
82
        XWindowChanges xwc = XWINDOWCHANGES_INIT;
81
83
        unsigned int valueMask = 0;
82
84
 
83
85
        valueMask |= (CWX | CWY | CWWidth | CWHeight);