react on strut changes
svn path=/trunk/kdebase/kwin/; revision=59726
This commit is contained in:
parent
ffa14ebace
commit
aef79db34b
1 changed files with 5 additions and 2 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue