summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Moreau <oreaus@gmail.com>2010-08-04 16:58:40 -0600
committerScott Moreau <oreaus@gmail.com>2010-08-04 18:03:28 -0600
commitfea686f7e1d5e1ab46aa0463b78424f1e4aa0fbf (patch)
tree7d7ee920960373b8e309a4887a2a34eb646176ee /src
parent5437df79e5296aa32b87b456b6a52a9f6f759a5b (diff)
downloaddrunken-fea686f7e1d5e1ab46aa0463b78424f1e4aa0fbf.tar.gz
drunken-fea686f7e1d5e1ab46aa0463b78424f1e4aa0fbf.tar.bz2
Fix plugin to depend on gl, composite and actually work.
Diffstat (limited to 'src')
-rw-r--r--src/drunken.cpp3
-rw-r--r--src/drunken.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/drunken.cpp b/src/drunken.cpp
index 06c970f..182bc99 100644
--- a/src/drunken.cpp
+++ b/src/drunken.cpp
@@ -104,6 +104,7 @@ DrunkenScreen::toggle ()
DrunkenScreen::DrunkenScreen (CompScreen *screen) :
PluginClassHandler <DrunkenScreen, CompScreen> (screen),
+ screen (screen),
cScreen (CompositeScreen::get (screen)),
gScreen (GLScreen::get (screen)),
mEnabled (false)
@@ -133,4 +134,4 @@ DrunkenPluginVTable::init ()
return false;
return true;
-} \ No newline at end of file
+}
diff --git a/src/drunken.h b/src/drunken.h
index a3f8a5a..b0c15b0 100644
--- a/src/drunken.h
+++ b/src/drunken.h
@@ -8,6 +8,7 @@
class DrunkenScreen :
public PluginClassHandler <DrunkenScreen, CompScreen>,
+ public ScreenInterface,
public CompositeScreenInterface,
public GLScreenInterface,
public DrunkenOptions
@@ -16,6 +17,7 @@ class DrunkenScreen :
DrunkenScreen (CompScreen *);
+ CompScreen *screen;
CompositeScreen *cScreen;
GLScreen *gScreen;
@@ -75,4 +77,4 @@ class DrunkenPluginVTable :
public:
bool init ();
-}; \ No newline at end of file
+};