From 9003c81c4b3425169633ea28e249ad2baad15deb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 3 Oct 2002 10:04:10 +0000 Subject: [PATCH] Only added a comment. svn path=/trunk/kdebase/kwin/; revision=181849 --- client.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client.cpp b/client.cpp index 769d09d253..201a6c25bc 100644 --- a/client.cpp +++ b/client.cpp @@ -2242,6 +2242,10 @@ bool Client::x11Event( XEvent * e) // 'lostMouse' wouldn't work with e.g. B2 or Keramik, which have non-rectangular decorations // (i.e. the LeaveNotify event comes before leaving the rect and no LeaveNotify event // comes after leaving the rect) - so lets check if the pointer is really outside the window + + // TODO this still sucks if a window appears above this one - it should lose the mouse + // if this window is another client, but not if it's a popup ... maybe after KDE3.1 :( + // (repeat after me 'AARGHL!') if ( !lostMouse && e->xcrossing.detail != NotifyInferior ) { int d1, d2, d3, d4; unsigned int d5;