summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--src/Ewmh.cc10
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c362e4..00f592d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.0rc3: 2Changes for 1.0rc3:
3*06/07/20: 3*06/07/20:
4 * Fix _NET_WM_MOVERESIZE, bug #1525542 (Mark)
5 Ewmh.cc
4 * Properly revert focus when two windows close simultaneously (Mark) 6 * Properly revert focus when two windows close simultaneously (Mark)
5 WinClient.cc/hh FbTk/FbWindow.hh fluxbox.cc Window.cc 7 WinClient.cc/hh FbTk/FbWindow.hh fluxbox.cc Window.cc
6*06/07/19: 8*06/07/19:
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index 78a2b3c..30fee85 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -891,9 +891,13 @@ bool Ewmh::checkClientMessage(const XClientMessageEvent &ce,
891 case _NET_WM_MOVERESIZE_SIZE_BOTTOMLEFT: 891 case _NET_WM_MOVERESIZE_SIZE_BOTTOMLEFT:
892 case _NET_WM_MOVERESIZE_SIZE_LEFT: 892 case _NET_WM_MOVERESIZE_SIZE_LEFT:
893 case _NET_WM_MOVERESIZE_SIZE_KEYBOARD: 893 case _NET_WM_MOVERESIZE_SIZE_KEYBOARD:
894 winclient->fbwindow()->startResizing(ce.data.l[0], ce.data.l[1], 894 // startResizing uses relative coordinates
895 static_cast<FluxboxWindow::ResizeDirection> 895 winclient->fbwindow()->startResizing(ce.data.l[0] -
896 (ce.data.l[2])); 896 winclient->fbwindow()->x() -
897 winclient->fbwindow()->frame().window().borderWidth(),
898 ce.data.l[1] - winclient->fbwindow()->y() -
899 winclient->fbwindow()->frame().window().borderWidth(),
900 static_cast<FluxboxWindow::ResizeDirection>(ce.data.l[2]));
897 break; 901 break;
898 case _NET_WM_MOVERESIZE_MOVE: 902 case _NET_WM_MOVERESIZE_MOVE:
899 case _NET_WM_MOVERESIZE_MOVE_KEYBOARD: 903 case _NET_WM_MOVERESIZE_MOVE_KEYBOARD: