Displaying 2 results from an estimated 2 matches for "compoptionvalue".
2006 Nov 30
1
Compiz and list options
Hello!
Currently, in plugins like "state", when having list options, you have to
parse all windows on the screen and update their properties... I find this so
ugly.
In fact, pluginSetScreenOption() give a pointer on the first element of the
list (CompOptionValue). You don't know what list element has changed !
I think it should be prettier to give a pointer on the first element of the
list at plugin initialisation but give a pointer on the "just changed"
element of the list in case of modification.
It will break some plugins ...
Cedric...
2007 Jun 19
1
[PATCH] Added screen edge trigger delay setting.
...ine COMP_DISPLAY_OPTION_NUM 60
typedef CompOption *(*GetDisplayOptionsProc) (CompDisplay *display,
int *count);
@@ -904,6 +905,8 @@ struct _CompDisplay {
CompTimeoutHandle autoRaiseHandle;
Window autoRaiseWindow;
+ CompTimeoutHandle edgeDelayHandle;
+
CompOptionValue plugin;
Bool dirtyPluginList;
@@ -1107,6 +1110,16 @@ findCursorAtDisplay (CompDisplay *display);
/* event.c */
+typedef struct _CompDelayedEdgeSettings
+{
+ CompDisplay *d;
+
+ unsigned int edge;
+ unsigned int state;
+
+ CompOption option[7];
+} CompDelayedEdgeSettings;...