force normal cursor on window move

pull/40/head
TomasM 2017-11-05 17:33:06 -05:00
parent bef2665696
commit 81a442d775
1 changed files with 12 additions and 3 deletions

View File

@ -1,6 +1,6 @@
--- a/src/Window.cc 2017-10-18 05:50:16.540916094 -0400
+++ b/src/Window.cc 2017-10-18 05:50:35.381110991 -0400
@@ -2744,6 +2744,14 @@
--- a/src/Window.cc 2013-02-13 05:04:05.000000000 -0500
+++ b/src/Window.cc 2017-11-05 17:31:37.516503305 -0500
@@ -2745,6 +2745,14 @@
m_button_grab_x = x - frame().x() - frame().window().borderWidth();
m_button_grab_y = y - frame().y() - frame().window().borderWidth();
@ -15,6 +15,15 @@
moving = true;
Fluxbox *fluxbox = Fluxbox::instance();
@@ -2752,7 +2760,7 @@
// freely map and unmap the window we're moving.
grabPointer(screen().rootWindow().window(), False, ButtonMotionMask |
ButtonReleaseMask, GrabModeAsync, GrabModeAsync,
- screen().rootWindow().window(), frame().theme()->moveCursor(), CurrentTime);
+ screen().rootWindow().window(), None, CurrentTime);
if (menu().isVisible())
menu().hide();
--- a/src/FbTk/FbDrawable.hh
+++ b/src/FbTk/FbDrawable.hh
@@ -52,7 +52,8 @@ public: