search for: handleeventproc

Displaying 4 results from an estimated 4 matches for "handleeventproc".

2006 Oct 18
1
[PATCH] Compiz Events
...rd should be set out for the naming of events like this. -------------- next part -------------- diff --git a/include/compiz.h b/include/compiz.h index 61a9de5..a7eff50 100644 --- a/include/compiz.h +++ b/include/compiz.h @@ -568,6 +568,12 @@ typedef void (*FiniPluginForDisplayProc) typedef void (*HandleEventProc) (CompDisplay *display, XEvent *event); +typedef void (*HandleCompizEventProc) (CompDisplay *display, + char *pluginName, + char *eventName, + CompOption *option, + int nOption); + typedef Bool (*CallBackProc) (void *clo...
2006 Oct 16
2
Edge + Mouse button draft patches
...mind this limitation too much but I would like to hear if I am doing something wrong. -------------- next part -------------- diff --git a/include/compiz.h b/include/compiz.h index 61a9de5..f3c6e6c 100644 --- a/include/compiz.h +++ b/include/compiz.h @@ -751,6 +751,8 @@ struct _CompDisplay { HandleEventProc handleEvent; + unsigned int mouseOnEdge; + 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 {...
2006 Oct 25
2
[PATCH] Edge buttons
...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_SCREEN_OPTION_DEFAULT_ICON 7 #define COMP_SCREEN_OPTION_SYNC_TO_VBLANK 8 -#de...
2006 Nov 08
2
bug in today's git snapshot with maximizing windows
...iz.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_SCREEN_OPTION_DEFAULT_ICON 7 > #de...