Displaying 4 results from an estimated 4 matches for "bindmods".
2007 Aug 05
1
[PATCH] Unbound modifiers and CompNoMask
...CompActionState state = CompActionStateInitButton;
CompAction *action;
- unsigned int modMask = REAL_MOD_MASK & ~d->ignoredModMask;
+ unsigned int modMask = (REAL_MOD_MASK & ~d->ignoredModMask)
+ | CompNoMask;
unsigned int bindMods;
unsigned int edge = 0;
@@ -368,7 +369,8 @@ triggerKeyPressBindings (CompDisplay *d,
{
CompActionState state = 0;
CompAction *action;
- unsigned int modMask = REAL_MOD_MASK & ~d->ignoredModMask;
+ unsigned int modMask = (REAL_MOD_MASK & ~d->ignoredM...
2006 Oct 16
2
Edge + Mouse button draft patches
...vates;
};
-------------- next part --------------
diff --git a/src/event.c b/src/event.c
index 2d182be..b228dde 100644
--- a/src/event.c
+++ b/src/event.c
@@ -266,12 +266,18 @@ triggerButtonPressBindings (CompDisplay
{
if (action->button.button == event->xbutton.button)
{
- bindMods = virtualToRealModMask (d, action->button.modifiers);
+ /* if it has an edge mask set then make sure the mouse
+ is on that corner as well */
+ if (!option->value.action.edgeMask ||
+ (option->value.action.edgeMask & d->mouseOnEdge))
+ {
+ bindMods = virtualToRealM...
2006 Oct 25
2
[PATCH] Edge buttons
...------------- next part --------------
diff --git a/src/event.c b/src/event.c
index 5c4610d..b36468b 100644
--- a/src/event.c
+++ b/src/event.c
@@ -260,6 +260,7 @@ triggerButtonPressBindings (CompDisplay
unsigned int modMask = REAL_MOD_MASK & ~d->ignoredModMask;
unsigned int bindMods;
+
while (nOption--)
{
if (isInitiateBinding (option, CompBindingTypeButton, state, &action))
@@ -272,6 +273,15 @@ triggerButtonPressBindings (CompDisplay
if ((*action->initiate) (d, action, state,
argument, nArgument))
return TRUE;
+
+ }
+ else...
2006 Nov 08
2
bug in today's git snapshot with maximizing windows
...ff)
> diff --git a/src/event.c b/src/event.c
> index 5c4610d..b36468b 100644
> --- a/src/event.c
> +++ b/src/event.c
> @@ -260,6 +260,7 @@ triggerButtonPressBindings (CompDisplay
> unsigned int modMask = REAL_MOD_MASK & ~d->ignoredModMask;
> unsigned int bindMods;
>
> +
> while (nOption--)
> {
> if (isInitiateBinding (option, CompBindingTypeButton, state, &action))
> @@ -272,6 +273,15 @@ triggerButtonPressBindings (CompDisplay
> if ((*action->initiate) (d, action, state,
>...