small replay issue (exclude desktop and dock)

svn path=/trunk/kdebase/kwin/; revision=76122
This commit is contained in:
Matthias Ettrich 2001-01-02 16:30:37 +00:00
parent f21e0fd688
commit 4ec61ec284

View file

@ -405,6 +405,11 @@ bool WindowWrapper::x11Event( XEvent * e)
bool replay = ( (Client*)parentWidget() )->performMouseCommand( com, bool replay = ( (Client*)parentWidget() )->performMouseCommand( com,
QPoint( e->xbutton.x_root, e->xbutton.y_root) ); 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); XAllowEvents(qt_xdisplay(), replay? ReplayPointer : SyncPointer, kwin_time);
return TRUE; return TRUE;
} }