summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <Sam@XPS-SUSE.site>2009-01-13 10:17:30 +0900
committerSam Spilsbury <Sam@XPS-SUSE.site>2009-01-13 10:17:30 +0900
commitfbe1ae351905b83b64684207ea4bbaa2335760c4 (patch)
treeeed2ebedbd23eefed13503c5b03753321b04edb8
parent6f76b0526b412fece71846fda3854be88eebdda9 (diff)
downloadlazypointer-fbe1ae351905b83b64684207ea4bbaa2335760c4.tar.gz
lazypointer-fbe1ae351905b83b64684207ea4bbaa2335760c4.tar.bz2
Typofix and remove commented functions we will no longer use
-rw-r--r--lazypointer.cpp48
1 files changed, 3 insertions, 45 deletions
diff --git a/lazypointer.cpp b/lazypointer.cpp
index ec00436..6adf597 100644
--- a/lazypointer.cpp
+++ b/lazypointer.cpp
@@ -263,46 +263,6 @@ LPScreen::directionInitiate (CompAction *action,
return true;
}
-//~ bool
-//~ LPScreen::leftInitiate (CompAction *action,
- //~ CompAction::State state,
- //~ CompOption::Vector &options)
-//~ {
- //~ screen->warpPointer (-1, 0);
-
- //~ return TRUE;
-//~ }
-
-//~ bool
-//~ LPScreen::rightInitiate (CompAction *action,
- //~ CompAction::State state,
- //~ CompOption::Vector &options)
-//~ {
- //~ screen->warpPointer (1, 0);
-
- //~ return TRUE;
-//~ }
-
-//~ bool
-//~ LPScreen::upInitiate (CompAction *action,
- //~ CompAction::State state,
- //~ CompOption::Vector &options)
-//~ {
- //~ screen->warpPointer (0, 1);
-
- //~ return TRUE;
-//~ }
-
-//~ bool
-//~ LPScreen::downInitiate (CompAction *action,
- //~ CompAction::State state,
- //~ CompOption::Vector &options)
-//~ {
- //~ screen->warpPointer (0, -1);
-
- //~ return TRUE;
-//~ }
-
/* Constructor */
LPScreen::LPScreen (CompScreen *screen) :
@@ -319,9 +279,9 @@ LPScreen::LPScreen (CompScreen *screen) :
CompositeScreenInterface::setHandler (cScreen);
optionSetInitiateLeftKeyInitiate (boost::bind (directionInitiate, _1, _2, _3, -1, 0));
- optionSetInitiateRightKeyInitiate (boost::bind (directionInitiate, _1, _2, _3, -1, 0));
- optionSetInitiateUpKeyInitiate (boost::bind (directionInitiate, _1, _2, _3, -1, 0));
- optionSetInitiateDownKeyInitiate (boost::bind (directionInitiate, _1, _2, _3, -1, 0));
+ optionSetInitiateRightKeyInitiate (boost::bind (directionInitiate, _1, _2, _3, 1, 0));
+ optionSetInitiateUpKeyInitiate (boost::bind (directionInitiate, _1, _2, _3, 0, -1));
+ optionSetInitiateDownKeyInitiate (boost::bind (directionInitiate, _1, _2, _3, 0, 1));
optionSetInitiateWindowKeyInitiate (winInitiate);
optionSetInitiateScreenKeyInitiate (screenInitiate);
}
@@ -336,8 +296,6 @@ LPWindow::LPWindow (CompWindow *window) :
bool
LPPluginVTable::init ()
{
-
- fprintf(stderr, "called init");
if (!CompPlugin::checkPluginABI ("core", CORE_ABIVERSION))
return false;