small replay issue (exclude desktop and dock)
svn path=/trunk/kdebase/kwin/; revision=76122
This commit is contained in:
parent
f21e0fd688
commit
4ec61ec284
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue