fixed Thomas Zander's focusFollowsMouse showstopper
svn path=/trunk/kdebase/kwin/; revision=66481
This commit is contained in:
parent
c0459f2a91
commit
a3b30fce8c
1 changed files with 3 additions and 3 deletions
|
@ -1792,7 +1792,7 @@ void Client::gravitate( bool invert )
|
|||
*/
|
||||
bool Client::x11Event( XEvent * e)
|
||||
{
|
||||
if ( e->type == EnterNotify && e->xcrossing.mode == NotifyNormal ) {
|
||||
if ( e->type == EnterNotify && ( e->xcrossing.mode == NotifyNormal || e->xcrossing.mode == NotifyUngrab ) ) {
|
||||
if ( options->focusPolicy == Options::ClickToFocus )
|
||||
return TRUE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue