ICCCM 4.1.5 compliant configureRequest handling
svn path=/trunk/kdebase/kwin/; revision=60470
This commit is contained in:
parent
ecba5c3ea2
commit
407efd9ad3
1 changed files with 2 additions and 3 deletions
|
@ -856,8 +856,7 @@ bool Client::configureRequest( XConfigureRequestEvent& e )
|
|||
int gravity = NorthWestGravity;
|
||||
if ( xSizeHint.flags & PWinGravity)
|
||||
gravity = xSizeHint.win_gravity;
|
||||
if ( TRUE || gravity == StaticGravity ) {
|
||||
// the TRUE makes it work with real programs, but it's not ICCCM.
|
||||
if ( gravity == StaticGravity ) { // only with StaticGravity according to ICCCM 4.1.5
|
||||
ox = windowWrapper()->x();
|
||||
oy = windowWrapper()->y();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue