summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-05-04 16:03:50 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-05-04 16:03:50 +0800
commit0545c163ae07f0410f35caa5333ba6ed2c754c38 (patch)
tree00da02bccf47b55590ae320adcba63098b6623fc /src
parentb58ba91bbe2719c918e226cd5fe8044bc6b4c6ad (diff)
downloadmobilebling-0545c163ae07f0410f35caa5333ba6ed2c754c38.tar.gz
mobilebling-0545c163ae07f0410f35caa5333ba6ed2c754c38.tar.bz2
Fix warning
Diffstat (limited to 'src')
-rw-r--r--src/window.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 1575ec9..727e6c6 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -770,8 +770,7 @@ PrivateWindow::updateFrameWindow ()
if (input.left || input.right || input.top || input.bottom)
{
- int x, y;
- unsigned int width, height;
+ int x, y, width, height;
int bw = serverGeometry.border () * 2;
x = serverGeometry.x () - input.left;