aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-24 14:29:21 (GMT)
committersimonb <simonb>2006-04-24 14:29:21 (GMT)
commitacf4326f3cc3451aaf874b0b0777d69be5834e57 (patch)
tree8abf3c4158ece9c97c3764d7eb4eb9e1aa53bf84 /src/Window.cc
parentf6a072430d4de159e229d6172adc5ba5ae985512 (diff)
downloadfluxbox_pavel-acf4326f3cc3451aaf874b0b0777d69be5834e57.zip
fluxbox_pavel-acf4326f3cc3451aaf874b0b0777d69be5834e57.tar.bz2
Use -Wall when --enable-debug and some warning fixes
+ thanks Jonas Koelker
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 7ffc1d5..31f4374 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -3378,7 +3378,7 @@ void FluxboxWindow::doSnapping(int &orig_left, int &orig_top) {
3378 3378
3379 // test against tabs too 3379 // test against tabs too
3380 bool i_have_tabs = frame().externalTabMode(); 3380 bool i_have_tabs = frame().externalTabMode();
3381 int xoff,yoff,woff,hoff; 3381 int xoff = 0, yoff = 0, woff = 0, hoff = 0;
3382 if (i_have_tabs) { 3382 if (i_have_tabs) {
3383 xoff = xOffset(); 3383 xoff = xOffset();
3384 yoff = yOffset(); 3384 yoff = yOffset();
@@ -3386,7 +3386,6 @@ void FluxboxWindow::doSnapping(int &orig_left, int &orig_top) {
3386 hoff = heightOffset(); 3386 hoff = heightOffset();
3387 } 3387 }
3388 3388
3389
3390 ///////////////////////////////////// 3389 /////////////////////////////////////
3391 // begin by checking the screen (or Xinerama head) edges 3390 // begin by checking the screen (or Xinerama head) edges
3392 3391