reenabled raising window if window was moved by mouse by 0 pixels

This commit is contained in:
mathias 2007-10-24 07:35:25 +00:00
parent b504021145
commit 74eb584a31
2 changed files with 12 additions and 0 deletions

View file

@ -1,5 +1,8 @@
(Format: Year/Month/Day)
Changes for 1.0.1:
*07/10/24:
* Reenabled raising window if window was moved by mouse by 0 pixels (Mathias)
Window.cc
*07/10/23:
* Adding/removing workspaces wasn't updating menu (Mark)
Screen.cc

View file

@ -3159,6 +3159,15 @@ void FluxboxWindow::stopMoving(bool interrupted) {
fluxbox->maskWindowEvents(0, 0);
// if no real movement happend -> raise if clickrais is disabled
if (m_last_move_x - frame().x() == 0 &&
m_last_move_y - frame().y() == 0 &&
!screen().clickRaises()) {
raise();
}
if (! screen().doOpaqueMove()) {
parent().drawRectangle(screen().rootTheme().opGC(),
m_last_move_x, m_last_move_y,