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 )
|
if ( ( dirty & NET::WMName ) != 0 )
|
||||||
fetchName();
|
fetchName();
|
||||||
|
if ( ( dirty & NET::WMStrut ) != 0 )
|
||||||
|
workspace()->updateClientArea();
|
||||||
|
|
||||||
|
|
||||||
switch (e->type) {
|
switch (e->type) {
|
||||||
case UnmapNotify:
|
case UnmapNotify:
|
||||||
|
@ -1060,7 +1063,7 @@ bool Client::isResizable() const
|
||||||
{
|
{
|
||||||
if ( !isMovable() )
|
if ( !isMovable() )
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if ( ( xSizeHint.flags & PMaxSize) == 0 || (xSizeHint.flags & PMinSize ) == 0 )
|
if ( ( xSizeHint.flags & PMaxSize) == 0 || (xSizeHint.flags & PMinSize ) == 0 )
|
||||||
return TRUE;
|
return TRUE;
|
||||||
return ( xSizeHint.min_width != xSizeHint.max_width ) ||
|
return ( xSizeHint.min_width != xSizeHint.max_width ) ||
|
||||||
|
@ -2257,7 +2260,7 @@ bool Client::wantsTabFocus() const
|
||||||
return windowType() == NET::Normal && input;
|
return windowType() == NET::Normal && input;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
Returns whether the window is moveable or has a fixed
|
Returns whether the window is moveable or has a fixed
|
||||||
position. !isMovable implies !isResizable.
|
position. !isMovable implies !isResizable.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue