When removing grabs from the set, first grab all, don't assume it's
there from somewhen before. svn path=/trunk/KDE/kdebase/workspace/; revision=703900
This commit is contained in:
parent
51e7514b11
commit
f3997b2739
1 changed files with 5 additions and 0 deletions
|
@ -1062,6 +1062,11 @@ void Client::updateMouseGrab()
|
||||||
}
|
}
|
||||||
if( isActive() && !workspace()->forcedGlobalMouseGrab()) // see Workspace::establishTabBoxGrab()
|
if( isActive() && !workspace()->forcedGlobalMouseGrab()) // see Workspace::establishTabBoxGrab()
|
||||||
{
|
{
|
||||||
|
// first grab all modifier combinations
|
||||||
|
XGrabButton( display(), AnyButton, AnyModifier, wrapperId(), FALSE,
|
||||||
|
ButtonPressMask,
|
||||||
|
GrabModeSync, GrabModeAsync,
|
||||||
|
None, None );
|
||||||
// remove the grab for no modifiers only if the window
|
// remove the grab for no modifiers only if the window
|
||||||
// is unobscured or if the user doesn't want click raise
|
// is unobscured or if the user doesn't want click raise
|
||||||
// (it is unobscured if it the topmost in the unconstrained stacking order, i.e. it is
|
// (it is unobscured if it the topmost in the unconstrained stacking order, i.e. it is
|
||||||
|
|
Loading…
Reference in a new issue