summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/neg.cpp2
-rw-r--r--src/neg.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/neg.cpp b/src/neg.cpp
index 835073a..76799fd 100644
--- a/src/neg.cpp
+++ b/src/neg.cpp
@@ -57,7 +57,7 @@ NegScreen::toggle (CompAction *action,
{
foreach (CompWindow *w, screen->windows ())
NegWindow::get (w)->toggle ();
- isNeg =!isNeg;
+ isNeg = !isNeg;
}
else
{
diff --git a/src/neg.h b/src/neg.h
index 9dabaab..b25f2fc 100644
--- a/src/neg.h
+++ b/src/neg.h
@@ -57,6 +57,9 @@ class NegScreen :
CompOption::Vector opt,
bool all);
+ void
+ ToggleScreen ();
+
int
getFragmentFunction (GLTexture *texture,
bool alpha);