summaryrefslogtreecommitdiff
path: root/src/put.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/put.cpp')
-rw-r--r--src/put.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/put.cpp b/src/put.cpp
index 36c2222..8ec610d 100644
--- a/src/put.cpp
+++ b/src/put.cpp
@@ -102,7 +102,7 @@ PutScreen::boxCompare (const CompRect& a,
/* Extends the given box for Window w to fit as much space in region r.
* If XFirst is true, it will first expand in the X direction,
- * then Y. This is because it gives different results.
+ * then Y. This is because it gives different results.
* PS: Decorations are icky.
*/
@@ -859,7 +859,7 @@ PutScreen::preparePaint (int ms)
}
}
}
-
+
cScreen->preparePaint (ms);
}
@@ -1208,6 +1208,9 @@ PutScreen::PutScreen (CompScreen *screen) :
compizPutWindowAtom = XInternAtom(screen->dpy (),
"_COMPIZ_PUT_WINDOW", 0);
+ optionSetPutPutInitiate (boost::bind (&PutScreen::initiate, this,
+ _1, _2, _3));
+
#define setAction(action, type) \
optionSet##action##KeyInitiate (boost::bind (&PutScreen::initiateCommon, \
this, _1,_2,_3,type)); \