aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-11 13:36:12 (GMT)
committerfluxgen <fluxgen>2003-05-11 13:36:12 (GMT)
commitaa72e23c8e1f6decf0bb78f8bd909e3e67b3a9da (patch)
tree9e8f1c81637c6e000127ed32f794e166eb4ac6a3 /src/Window.cc
parent816190411a9e5bd6cdfaa9d579f84be348a2f1bc (diff)
downloadfluxbox_pavel-aa72e23c8e1f6decf0bb78f8bd909e3e67b3a9da.zip
fluxbox_pavel-aa72e23c8e1f6decf0bb78f8bd909e3e67b3a9da.tar.bz2
minor cleaning
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 4161c3b..be8fab6 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Window.cc,v 1.168 2003/05/10 23:04:37 fluxgen Exp $ 25// $Id: Window.cc,v 1.169 2003/05/11 13:36:11 fluxgen Exp $
26 26
27#include "Window.hh" 27#include "Window.hh"
28 28
@@ -2836,8 +2836,8 @@ void FluxboxWindow::doSnapping(int &orig_left, int &orig_top) {
2836 2836
2837 int top = orig_top; // orig include the borders 2837 int top = orig_top; // orig include the borders
2838 int left = orig_left; 2838 int left = orig_left;
2839 int right = orig_left + getWidth() + 2*borderW; 2839 int right = orig_left + width() + 2*borderW;
2840 int bottom = orig_top + getHeight() + 2*borderW; 2840 int bottom = orig_top + height() + 2*borderW;
2841 2841
2842 ///////////////////////////////////// 2842 /////////////////////////////////////
2843 // begin by checking the screen edges 2843 // begin by checking the screen edges
@@ -2858,9 +2858,9 @@ void FluxboxWindow::doSnapping(int &orig_left, int &orig_top) {
2858 2858
2859 snapToWindow(dx, dy, left, right, top, bottom, 2859 snapToWindow(dx, dy, left, right, top, bottom,
2860 (*it)->getXFrame(), 2860 (*it)->getXFrame(),
2861 (*it)->getXFrame() + (*it)->getWidth() + 2*borderW, 2861 (*it)->getXFrame() + (*it)->width() + 2*borderW,
2862 (*it)->getYFrame(), 2862 (*it)->getYFrame(),
2863 (*it)->getYFrame() + (*it)->getHeight() + 2*borderW); 2863 (*it)->getYFrame() + (*it)->height() + 2*borderW);
2864 } 2864 }
2865 2865
2866 ///////////////////////////////////// 2866 /////////////////////////////////////