X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fevent.c;fp=openbox%2Fevent.c;h=ecd20f929694ed4f8675033aa6a33f78099ea3e8;hb=2acbf04cb4ef4a6d1bd0db748aabfba91db4f966;hp=b39660a6232144ea165155d06f896bfeb595649b;hpb=29d595b1783240f2ff63fb8b3bbc6054d909d858;p=chaz%2Fopenbox diff --git a/openbox/event.c b/openbox/event.c index b39660a6..ecd20f92 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1103,7 +1103,9 @@ static void event_handle_client(ObClient *client, XEvent *e) if (grab_on_keyboard()) break; if (e->xcrossing.mode == NotifyGrab || - e->xcrossing.mode == NotifyUngrab || + (e->xcrossing.mode == NotifyUngrab && + /* ungrab enters are used when _under_ mouse is being used */ + !(config_focus_follow && config_focus_under_mouse)) || /*ignore enters when we're already in the window */ e->xcrossing.detail == NotifyInferior) {