From aef79db34b7ef5b84d0b99ea09fd162459169085 Mon Sep 17 00:00:00 2001 From: Matthias Ettrich Date: Fri, 4 Aug 2000 21:29:02 +0000 Subject: [PATCH] react on strut changes svn path=/trunk/kdebase/kwin/; revision=59726 --- client.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/client.cpp b/client.cpp index a15eeacfe3..f72110c00f 100644 --- a/client.cpp +++ b/client.cpp @@ -681,6 +681,9 @@ bool Client::windowEvent( XEvent * e) if ( ( dirty & NET::WMName ) != 0 ) fetchName(); + if ( ( dirty & NET::WMStrut ) != 0 ) + workspace()->updateClientArea(); + switch (e->type) { case UnmapNotify: @@ -1060,7 +1063,7 @@ bool Client::isResizable() const { if ( !isMovable() ) return FALSE; - + if ( ( xSizeHint.flags & PMaxSize) == 0 || (xSizeHint.flags & PMinSize ) == 0 ) return TRUE; return ( xSizeHint.min_width != xSizeHint.max_width ) || @@ -2257,7 +2260,7 @@ bool Client::wantsTabFocus() const return windowType() == NET::Normal && input; } -/*! +/*! Returns whether the window is moveable or has a fixed position. !isMovable implies !isResizable. */