summaryrefslogtreecommitdiff
path: root/decorations
diff options
Diffstat (limited to 'decorations')
-rw-r--r--decorations/DecoratedWindow.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/decorations/DecoratedWindow.cpp b/decorations/DecoratedWindow.cpp
index a84926808..0cadcfbee 100644
--- a/decorations/DecoratedWindow.cpp
+++ b/decorations/DecoratedWindow.cpp
@@ -157,7 +157,6 @@ void Window::Impl::UnsetExtents()
void Window::Impl::SetupExtents()
{
- // FIXME: EDGE not being set on startup on client_decorated
if (win_->hasUnmapReference())
return;
@@ -215,10 +214,10 @@ void Window::Impl::UpdateFrame()
if (win_->shaded())
frame_geo.height = input.top + input.bottom;
- if (!frame_)
+ if (!frame_ && win_->frame())
CreateFrame(frame_geo);
- if (frame_geo_ != frame_geo)
+ if (frame_ && frame_geo_ != frame_geo)
UpdateFrameGeo(frame_geo);
}