summaryrefslogtreecommitdiff
path: root/plugins/resize/src/resize.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/resize/src/resize.cpp')
-rw-r--r--plugins/resize/src/resize.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/resize/src/resize.cpp b/plugins/resize/src/resize.cpp
index a2b3bb8..d38e604 100644
--- a/plugins/resize/src/resize.cpp
+++ b/plugins/resize/src/resize.cpp
@@ -1040,8 +1040,8 @@ ResizeScreen::handleMotionEvent (int xRoot, int yRoot)
/* only constrain movement if previous position was valid */
if (inRegionStatus)
{
- bool xStatus;
- int yForXResize;
+ bool xStatus = false;
+ int yForXResize = y;
int nx = x;
int nw = wi;
int nh = he;
@@ -1636,7 +1636,7 @@ ResizeScreen::optionChanged (CompOption *option,
ResizeOptions::Options num)
{
int *mask = NULL;
- int valueMask;
+ int valueMask = 0;
switch (num)
{