X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Feventh.c;h=572ab91073f7582a0ebe009f308085cddd192e18;hb=0e823ba752af388ba5ca99800d094f88a11290db;hp=011093ba3e05ebcca558b7ec3c7f891c6ce37330;hpb=d851e7d55f99040bdfb6b5e1b799b7d6adad22b2;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;