summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ());