fixed Thomas Zander's focusFollowsMouse showstopper

svn path=/trunk/kdebase/kwin/; revision=66481
This commit is contained in:
Matthias Ettrich 2000-10-05 18:38:02 +00:00
parent c0459f2a91
commit a3b30fce8c

View file

@ -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;