search for: edgebutton

Displaying 8 results from an estimated 8 matches for "edgebutton".

2006 Oct 25
2
[PATCH] Edge buttons
...---- next part -------------- diff --git a/include/compiz.h b/include/compiz.h index 6161f99..8e32f2d 100644 --- a/include/compiz.h +++ b/include/compiz.h @@ -343,7 +343,8 @@ struct _CompAction { Bool bell; - unsigned int edgeMask; + unsigned int edgeMask; + int edgeButton; }; typedef struct { @@ -751,6 +752,8 @@ struct _CompDisplay { HandleEventProc handleEvent; + unsigned int mouseOnEdge; + CompPrivate *privates; }; @@ -1125,7 +1128,8 @@ #define COMP_SCREEN_OPTION_OPACITY_STEP #define COMP_SCREEN_OPTION_UNREDIRECT_FS 6 #define COMP_...
2006 Nov 08
2
bug in today's git snapshot with maximizing windows
...is set > to 0. There is also a patch to make the edge size configurable > because 1 pixel was too small and the mouse keeps slipping off > when using it for the switcher. > > Hopefully these are acceptable, please let me know if they aren't. > plain text document attachment (edgebutton-compiz.h.diff) > diff --git a/include/compiz.h b/include/compiz.h > index 6161f99..8e32f2d 100644 > --- a/include/compiz.h > +++ b/include/compiz.h > @@ -343,7 +343,8 @@ struct _CompAction { > > Bool bell; > > - unsigned int edgeMask; > + unsigned int...
2007 Mar 06
1
Some edgebutton bugs.
Hi, some bugs i would see fixed is when using edgebutton in scale. The first is initiate_group_edgebutton don't seem to work at all. The second is when using it on initate and initate_all, it sometimes seem to stop working all together, though this is the case also without using edgebutton, maybe after doing some config changes in gconf.
2007 Apr 11
2
Patch for ini plugin
...ON_LENGTH); + strncat (strVal, ",", MAX_OPTION_LENGTH); } } fprintf (optionFile, "%s_%s=%s\n", option->name, "edge", strVal); + free (strVal); - strVal = strdup (""); if (option->value.action.type & CompBindingTypeEdgeButton) - sprintf(strVal, "%i", option->value.action.edgeButton); + asprintf (&strVal, "%i", option->value.action.edgeButton); else - sprintf(strVal, "%i", 0); + asprintf (&strVal, "%i", 0); fprintf (optionFile, "%s_%s=%s\n"...
2006 Oct 16
2
Edge + Mouse button draft patches
Attached are my draft patches to add edge + mouse button to the actions It is useful because the edge bindings are too easily triggered, an edge + mouse button is good because it confirms the action. An additional side benefit is that the mouse wheel can be used for rotating the cube and for the switcher (it is an excellent alternative to alt-tab). I wanted to share the patches before cleaning
2007 May 14
1
Window specific actions and edge buttons
There is a problem with some window specific actions like scale_group and rotate_with_window when they are activated by an edgebutton. The basic problem is that each of those actions use the window option provided to the action. When an edgebutton is used the window id sent is actually the id of the edge window, this means that actions which rely on this stop working. The obvious solution would be to change the affected functi...
2007 May 19
2
Crash in blur.c (SIGSEGV)
...of bounds>, type = CompOptionTypeBool, value = { b = 0, i = 0, f = 0, s = 0x0, c = {0, 0, 0, 0}, action = {initiate = 0, terminate = 0, state = 0, type = CompBindingTypeNone, key = {keycode = 0, modifiers = 0}, button = {button = 0, modifiers = 0}, bell = 0, edgeMask = 0, edgeButton = 0, priv = {ptr = 0x0, val = 0, uval = 0, fptr = 0}}, match = {display = 0x0, op = 0x0, nOp = 0}, list = {type = CompOptionTypeBool, value = 0x0, nValue = 0}}, rest = {i = {min = 0, max = 24}, f = {min = 0, max = 3.36311631e-44, precision = 1.12103877e-44}, s = {string =...
2007 Aug 20
1
[ANNOUNCE] compiz-0.5.4
...Trigger edge button events properly. Avoid using binding type when determining if action Remove complex action option handling from ini plugin. Remove complex action option handling from dbus plugin. Remove complex action option handling from fuse plugin. Remove unused edgeButton variable from action struct. Free list option values properly. Cleanup. Make sure initiate, terminate and state variables in action Use compFiniOptionValue in fuse plugin. Cleanup. Button actions should be initialized with CompActionStateInitEdge Add button...