X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Feventh.c;fp=ioncore%2Feventh.c;h=572ab91073f7582a0ebe009f308085cddd192e18;hb=5e1e6e6c4467839ec70cee64dc1faabcf08e2a5f;hp=011093ba3e05ebcca558b7ec3c7f891c6ce37330;hpb=df57861c962a50bfbf57f276d288395fe0c6a4b6;p=ion3.git diff --git a/ioncore/eventh.c b/ioncore/eventh.c index 011093b..572ab91 100644 --- a/ioncore/eventh.c +++ b/ioncore/eventh.c @@ -307,8 +307,10 @@ void ioncore_handle_enter_window(XEvent *ev) XEnterWindowEvent *eev=&(ev->xcrossing); WRegion *reg=NULL; - if(ioncore_g.input_mode!=IONCORE_INPUTMODE_NORMAL) + if(ioncore_g.input_mode!=IONCORE_INPUTMODE_NORMAL || + ioncore_g.no_mousefocus){ return; + } if(eev->mode!=NotifyNormal && !ioncore_g.warp_enabled) return;