summaryrefslogtreecommitdiff
path: root/include/compiz.h
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2007-08-28 06:53:16 -0400
committerDavid Reveman <davidr@novell.com>2007-08-28 06:53:16 -0400
commit988f56ac82c1bfeefc21d1cf3fff3c479ca405da (patch)
treec0f943c2e18c0698453e568f44fb54550b619adc /include/compiz.h
parentd04e36ab440480db1187de73fc06b7b1cd0bbb10 (diff)
downloadcompiz-core-doc-988f56ac82c1bfeefc21d1cf3fff3c479ca405da.tar.gz
compiz-core-doc-988f56ac82c1bfeefc21d1cf3fff3c479ca405da.tar.bz2
Remove setScreenOption and make sure core plugin is loaded
at startup.
Diffstat (limited to 'include/compiz.h')
-rw-r--r--include/compiz.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/include/compiz.h b/include/compiz.h
index 9aeac57..2215db6 100644
--- a/include/compiz.h
+++ b/include/compiz.h
@@ -1669,11 +1669,6 @@ typedef void (*GLGenerateMipmapProc) (GLenum target);
#define MAX_DEPTH 32
-typedef CompOption *(*GetScreenOptionsProc) (CompScreen *screen,
- int *count);
-typedef Bool (*SetScreenOptionProc) (CompScreen *screen,
- const char *name,
- CompOptionValue *value);
typedef CompOption *(*GetPluginScreenOptionsProc) (CompPlugin *plugin,
CompScreen *screen,
int *count);
@@ -2028,7 +2023,6 @@ struct _CompScreen {
CompOption opt[COMP_SCREEN_OPTION_NUM];
- SetScreenOptionProc setScreenOption;
SetScreenOptionForPluginProc setScreenOptionForPlugin;
InitPluginForScreenProc initPluginForScreen;
@@ -2080,8 +2074,13 @@ freeScreenPrivateIndex (CompDisplay *display,
int index);
CompOption *
-compGetScreenOptions (CompScreen *screen,
- int *count);
+getScreenOptions (CompScreen *screen,
+ int *count);
+
+Bool
+setScreenOption (CompScreen *screen,
+ const char *name,
+ CompOptionValue *value);
void
configureScreen (CompScreen *s,