*
* Copyright (c) Tuomo Valkonen 1999-2007.
*
- * Ion is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
+ * See the included file LICENSE for details.
*/
#include <string.h>
binding->act!=BINDING_BUTTONMOTION)
return;
- if(binding->state==0)
+ if(binding->state==0 || binding->area!=0)
return;
#ifndef CF_HACK_IGNORE_EVIL_LOCKS
binding->act!=BINDING_BUTTONMOTION)
return;
- if(binding->state==0)
+ if(binding->state==0 || binding->area!=0)
return;
#ifndef CF_HACK_IGNORE_EVIL_LOCKS
binding=search_binding(bindmap, &tmp);
+ if(BINDING_IS_PSEUDO(act)){
+ /* No use trying anything else */
+ return binding;
+ }
+
if(binding==NULL){
tmp.state=AnyModifier;
binding=search_binding(bindmap, &tmp);