ICCCM 4.1.5 compliant configureRequest handling

svn path=/trunk/kdebase/kwin/; revision=60470
This commit is contained in:
Matthias Ettrich 2000-08-10 12:38:37 +00:00
parent ecba5c3ea2
commit 407efd9ad3

View file

@ -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();
}