summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index f0d3ce931..45484cf09 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -552,7 +552,7 @@ void Window::SetShaded(bool make_shaded)
{
if (this->shade_select == NULL) return;
- int desired = make_shaded ? STACKED_SELECTION_ZERO_SIZE : 0;
+ int desired = make_shaded ? SZSP_NONE : 0;
if (this->shade_select->shown_plane != desired) {
if (make_shaded) {
this->unshaded_size.width = this->width;