don't fake an enter event if where still in the same window

This commit is contained in:
Mikael Magnusson 2007-05-26 23:30:59 +00:00
parent a38012f2ff
commit fb952d863a

View file

@ -57,7 +57,8 @@ static void client_action_end(union ActionData *data)
event will come as a GrabNotify which is ignored, so this
makes a fake enter event
*/
if ((c = client_under_pointer()))
if ((c = client_under_pointer())
&& c != data->any.c)
event_enter_client(c);
}
}