From 458573e997aa0c0702e936a08bb7f26fad9df157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 5 Mar 2004 14:07:11 +0000 Subject: [PATCH] Oops, clicking on the titlebar started drag, broken by last commit. svn path=/trunk/kdebase/kwin/; revision=293758 --- events.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events.cpp b/events.cpp index 5ffbd39abf..d256588c7f 100644 --- a/events.cpp +++ b/events.cpp @@ -1224,7 +1224,7 @@ bool Client::buttonReleaseEvent( Window w, int /*button*/, int state, int x, int XAllowEvents(qt_xdisplay(), SyncPointer, CurrentTime ); //qt_x_time); return true; } - if( w != moveResizeGrabWindow()) + if( w != frameId() && w != decorationId() && w != moveResizeGrabWindow()) return true; x = this->x(); // translate from grab window to local coords y = this->y();