X-Git-Url: https://git.decadent.org.uk/gitweb/?p=ion3.git;a=blobdiff_plain;f=ioncore%2Feventh.c;h=861007f4b06eb3da7564797025408f39a993be1b;hp=011093ba3e05ebcca558b7ec3c7f891c6ce37330;hb=e3aec18706513a87eaa7839dfdaf7e0fcd0d8d2a;hpb=df57861c962a50bfbf57f276d288395fe0c6a4b6 diff --git a/ioncore/eventh.c b/ioncore/eventh.c index 011093b..861007f 100644 --- a/ioncore/eventh.c +++ b/ioncore/eventh.c @@ -1,7 +1,7 @@ /* * ion/ioncore/eventh.c * - * Copyright (c) Tuomo Valkonen 1999-2008. + * Copyright (c) Tuomo Valkonen 1999-2009. * * See the included file LICENSE for details. */ @@ -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;