summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/neg.cpp15
-rw-r--r--src/neg.h3
2 files changed, 0 insertions, 18 deletions
diff --git a/src/neg.cpp b/src/neg.cpp
index 2f95181..835073a 100644
--- a/src/neg.cpp
+++ b/src/neg.cpp
@@ -47,21 +47,6 @@ NegWindow::toggle ()
gWindow->glDrawTextureSetEnabled (this, false);
}
-void
-NegScreen::ToggleScreen ()
-{
- /* toggle screen negative flag */
- isNeg = !isNeg;
-
- /* toggle every window */
- foreach (CompWindow *w, screen->windows ())
- {
- NEG_WINDOW (w);
-
- nw->toggle ();
- }
-}
-
bool
NegScreen::toggle (CompAction *action,
CompAction::State state,
diff --git a/src/neg.h b/src/neg.h
index b25f2fc..9dabaab 100644
--- a/src/neg.h
+++ b/src/neg.h
@@ -57,9 +57,6 @@ class NegScreen :
CompOption::Vector opt,
bool all);
- void
- ToggleScreen ();
-
int
getFragmentFunction (GLTexture *texture,
bool alpha);