From: Dana Jansens Date: Thu, 28 Nov 2002 06:52:22 +0000 (+0000) Subject: allow click-raising on the titlebar again! X-Git-Tag: openbox-2_2_2^2~10 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=9736f2b00ff3a5544fe2616a5c2ff01622898660;p=dana%2Fopenbox.git allow click-raising on the titlebar again! --- diff --git a/src/Window.cc b/src/Window.cc index a7b4f1a7..7b971eda 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -3141,7 +3141,7 @@ void BlackboxWindow::buttonPressEvent(const XButtonEvent *be) { if (windowmenu && windowmenu->isVisible()) windowmenu->hide(); - if (be->state == mod_mask && getScreen()->doRaiseOnMoveResize()) + if (be->state != mod_mask || getScreen()->doRaiseOnMoveResize()) screen->getWorkspace(blackbox_attrib.workspace)->raiseWindow(this); } } else if (be->button == 2 && (be->window != frame.iconify_button) &&