aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
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 /////////////////////////////////////