From 4ec61ec284bbeee83cbfc7b79920fe01475c5d18 Mon Sep 17 00:00:00 2001 From: Matthias Ettrich Date: Tue, 2 Jan 2001 16:30:37 +0000 Subject: [PATCH] small replay issue (exclude desktop and dock) svn path=/trunk/kdebase/kwin/; revision=76122 --- client.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client.cpp b/client.cpp index 52a53e00b2..6c866f52aa 100644 --- a/client.cpp +++ b/client.cpp @@ -405,6 +405,11 @@ bool WindowWrapper::x11Event( XEvent * e) bool replay = ( (Client*)parentWidget() )->performMouseCommand( com, QPoint( e->xbutton.x_root, e->xbutton.y_root) ); + if ( ((Client*)parentWidget())->windowType() != NET::Normal && + ((Client*)parentWidget())->windowType() != NET::Dialog && + ((Client*)parentWidget())->windowType() != NET::Override ) + replay = TRUE; + XAllowEvents(qt_xdisplay(), replay? ReplayPointer : SyncPointer, kwin_time); return TRUE; }