summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-12-13 22:05:04 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-12-13 22:05:04 +0800
commit39ed3654c468d1fcbf1f9a0a74326fefda53c082 (patch)
treec08d4bc12eaff118fb7cad9886003121de6e4c6a
parentb2077af2de54aa9f06a2548c8054e969ed9ca280 (diff)
downloadcompiz-with-glib-mainloop-39ed3654c468d1fcbf1f9a0a74326fefda53c082.tar.gz
compiz-with-glib-mainloop-39ed3654c468d1fcbf1f9a0a74326fefda53c082.tar.bz2
Cleanup
-rw-r--r--plugins/decor/src/decor.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/decor/src/decor.cpp b/plugins/decor/src/decor.cpp
index 0070271..49b382f 100644
--- a/plugins/decor/src/decor.cpp
+++ b/plugins/decor/src/decor.cpp
@@ -647,8 +647,7 @@ DecorWindow::shiftY ()
static bool
decorOffsetMove (CompWindow *w, XWindowChanges xwc, unsigned int mask)
{
- CompOption::Vector o;
- o.resize (1);
+ CompOption::Vector o (1);
o.at (0).setName ("window", CompOption::TypeInt);
o.at (0).value ().set ((int) w->id ());