From bea6e5f78d38417ea64c283236eee72ecdcaf502 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 14 Apr 2002 18:28:11 +0000 Subject: changed OpenboxWindow to not have getFrameX/getWidth/etc functions, and to return Origins and Sizes and Rects, in fuctions like size(), origin(), and area(). --- src/Window.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Window.cc') diff --git a/src/Window.cc b/src/Window.cc index 56ee90a3..5adde163 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -2805,7 +2805,7 @@ void OpenboxWindow::motionNotifyEvent(XMotionEvent *me) { int snap_distance = screen->getEdgeSnapThreshold(); // width/height of the snapping window unsigned int snap_w = frame.width + (frame.border_w * 2); - unsigned int snap_h = getHeight() + (frame.border_w * 2); + unsigned int snap_h = size().h() + (frame.border_w * 2); if (snap_distance) { int drx = screen->getWidth() - (dx + snap_w); -- cgit v1.2.3