ignore ungrab enter notifies for focus
This commit is contained in:
parent
227d8b8511
commit
eaf9c36c2e
1 changed files with 2 additions and 1 deletions
|
@ -739,7 +739,8 @@ static void event_handle_client(ObClient *client, XEvent *e)
|
||||||
case OB_FRAME_CONTEXT_FRAME:
|
case OB_FRAME_CONTEXT_FRAME:
|
||||||
if (!nofocus && client_normal(client) && config_focus_follow) {
|
if (!nofocus && client_normal(client) && config_focus_follow) {
|
||||||
if (e->xcrossing.mode == NotifyGrab ||
|
if (e->xcrossing.mode == NotifyGrab ||
|
||||||
e->xcrossing.detail == NotifyInferior)
|
e->xcrossing.detail == NotifyInferior ||
|
||||||
|
e->xcrossing.mode == NotifyUngrab)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG_FOCUS
|
#ifdef DEBUG_FOCUS
|
||||||
ob_debug("%sNotify mode %d detail %d on %lx IGNORED\n",
|
ob_debug("%sNotify mode %d detail %d on %lx IGNORED\n",
|
||||||
|
|
Loading…
Reference in a new issue