Displaying 5 results from an estimated 5 matches for "xbutton".
Did you mean:
button
2001 Feb 13
0
devX11.c -- questions about expose events and XBell
...n R within an ESS session in
emacs, I get ^G but no sound. When I redirect the output, I get
nothing... *Question* Why don't you use *XBell*?
*** devX11.c~ Tue Feb 13 17:24:40 2001
--- devX11.c Tue Feb 13 18:07:41 2001
***************
*** 1880,1887 ****
if (event.xbutton.button == Button1) {
*x = event.xbutton.x;
*y = event.xbutton.y;
! fprintf(stderr, "\07");
! fflush(stderr);
XSync(display, 0);
done = 1;
}
--- 1879,1885 ---...
2006 Oct 16
2
Edge + Mouse button draft patches
...ge;
+
CompPrivate *privates;
};
-------------- 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))
+ {
+...
2006 Oct 25
2
[PATCH] Edge buttons
...nPressBindings (CompDisplay
if ((*action->initiate) (d, action, state,
argument, nArgument))
return TRUE;
+
+ }
+ else if (option->value.action.edgeMask &&
+ (option->value.action.edgeMask & d->mouseOnEdge) &&
+ (event->xbutton.button == option->value.action.edgeButton))
+ {
+ if ((*action->initiate) (d, action, state,
+ argument, nArgument))
+ return TRUE;
}
}
@@ -553,6 +563,10 @@ isEdgeEnterAction (CompOption *opti
if (!isEdgeAction (option, state, edge))
return FALSE;...
2006 Nov 08
2
bug in today's git snapshot with maximizing windows
...gt; argument, nArgument))
> return TRUE;
> +
> + }
> + else if (option->value.action.edgeMask &&
> + (option->value.action.edgeMask & d->mouseOnEdge) &&
> + (event->xbutton.button == option->value.action.edgeButton))
> + {
> + if ((*action->initiate) (d, action, state,
> + argument, nArgument))
> + return TRUE;
> }
> }
>
> @@ -553,6 +563,10 @@ isEdgeEnterAction (CompOp...
2007 May 19
2
Crash in blur.c (SIGSEGV)
...ent = 0, display = 0x6481b0,
window = 421}, xkey = {type = 16, serial = 10885, send_event = 0, display = 0x6481b0, window = 421,
root = 20989986, subwindow = 1318554960192, time = 1756641624704, x = 0, y = 0, x_root = 65142784,
y_root = 1967360, state = 1, keycode = 2, same_screen = 1}, xbutton = {type = 16, serial = 10885,
send_event = 0, display = 0x6481b0, window = 421, root = 20989986, subwindow = 1318554960192,
time = 1756641624704, x = 0, y = 0, x_root = 65142784, y_root = 1967360, state = 1, button = 2,
same_screen = 1}, xmotion = {type = 16, serial = 10885, send_event...