summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2010-12-04 20:45:50 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2010-12-04 20:45:50 +0800
commitf2de694893c27532d72335bfe9e8f3a321cb3355 (patch)
treec5bd50c865e1aed21bfa31b9d3e047008a584f44 /plugins
parent3e8a344635d443a0b04671c198e3c39db49df52b (diff)
downloadcompiz-with-glib-mainloop-f2de694893c27532d72335bfe9e8f3a321cb3355.tar.gz
compiz-with-glib-mainloop-f2de694893c27532d72335bfe9e8f3a321cb3355.tar.bz2
The window must always have a frame before we do anything with it
Diffstat (limited to 'plugins')
-rw-r--r--plugins/decor/src/decor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/decor/src/decor.cpp b/plugins/decor/src/decor.cpp
index da10c94..60a8810 100644
--- a/plugins/decor/src/decor.cpp
+++ b/plugins/decor/src/decor.cpp
@@ -669,7 +669,7 @@ DecorWindow::update (bool allowDecoration)
case CompWindowTypeMenuMask:
case CompWindowTypeNormalMask:
if (window->mwmDecor () & (MwmDecorAll | MwmDecorTitle))
- decorate = true;
+ decorate = window->frame () ? true : false;
default:
break;
}