summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/neg.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/neg.cpp b/src/neg.cpp
index c32d425..e8c236f 100644
--- a/src/neg.cpp
+++ b/src/neg.cpp
@@ -494,6 +494,12 @@ NegScreen::optionChanged (CompOption *opt,
}
}
break;
+ case NegOptions::NegDecorations:
+ {
+ foreach (CompWindow *w, screen->windows ())
+ if (NegWindow::get (w)->isNeg)
+ NegWindow::get (w)->cWindow->addDamage ();
+ }
default:
break;
}
@@ -518,6 +524,8 @@ NegScreen::NegScreen (CompScreen *screen) :
_1, _2));
optionSetExcludeMatchNotify (boost::bind (&NegScreen::optionChanged, this,
_1, _2));
+ optionSetNegDecorationsNotify (boost::bind (&NegScreen::optionChanged, this,
+ _1, _2));
}