summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-05-04 13:55:39 (GMT)
committerrathnor <rathnor>2003-05-04 13:55:39 (GMT)
commitcd3379270b388cbfe5040d43a4c90f976c06e1b7 (patch)
tree76b0b0f873fda4d020e7ff348397a58957c94ef2 /src
parentc21b6fb29fd51cbd5ebb49dda1d10698d8ba2e32 (diff)
downloadfluxbox_lack-cd3379270b388cbfe5040d43a4c90f976c06e1b7.zip
fluxbox_lack-cd3379270b388cbfe5040d43a4c90f976c06e1b7.tar.bz2
fix warping with multiple screens
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 33bf9bc..fb7b169 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.156 2003/05/01 13:19:36 rathnor Exp $ 25// $Id: Window.cc,v 1.157 2003/05/04 13:55:39 rathnor Exp $
26 26
27#include "Window.hh" 27#include "Window.hh"
28 28
@@ -2273,7 +2273,7 @@ void FluxboxWindow::motionNotifyEvent(XMotionEvent &me) {
2273 2273
2274 if (! isMoving()) { 2274 if (! isMoving()) {
2275 startMoving(me.window); 2275 startMoving(me.window);
2276 } else { 2276 } else {
2277 int dx = me.x_root - button_grab_x, 2277 int dx = me.x_root - button_grab_x,
2278 dy = me.y_root - button_grab_y; 2278 dy = me.y_root - button_grab_y;
2279 2279
@@ -2627,7 +2627,7 @@ void FluxboxWindow::startMoving(Window win) {
2627 // freely map and unmap the window we're moving. 2627 // freely map and unmap the window we're moving.
2628 XGrabPointer(display, screen.getRootWindow(), False, Button1MotionMask | 2628 XGrabPointer(display, screen.getRootWindow(), False, Button1MotionMask |
2629 ButtonReleaseMask, GrabModeAsync, GrabModeAsync, 2629 ButtonReleaseMask, GrabModeAsync, GrabModeAsync,
2630 None, fluxbox->getMoveCursor(), CurrentTime); 2630 screen.getRootWindow(), fluxbox->getMoveCursor(), CurrentTime);
2631 2631
2632 if (m_windowmenu.isVisible()) 2632 if (m_windowmenu.isVisible())
2633 m_windowmenu.hide(); 2633 m_windowmenu.hide();