Revert r2.51. Tk is either too stupid to see a difference between normal
and synthetic configure events, or it's too paranoid to trust the normal ones. CCMAIL: 75167-done@bugs.kde.org svn path=/trunk/kdebase/kwin/; revision=287782
This commit is contained in:
parent
ed511fc454
commit
22e7409160
1 changed files with 2 additions and 4 deletions
|
@ -1149,13 +1149,12 @@ void Client::setGeometry( int x, int y, int w, int h, ForceGeometry_t force )
|
||||||
cs.width(), cs.height());
|
cs.width(), cs.height());
|
||||||
// FRAME tady poradi tak, at neni flicker
|
// FRAME tady poradi tak, at neni flicker
|
||||||
XMoveResizeWindow( qt_xdisplay(), window(), 0, 0, cs.width(), cs.height());
|
XMoveResizeWindow( qt_xdisplay(), window(), 0, 0, cs.width(), cs.height());
|
||||||
// no need for real configure notify, XMoveResizeWindow() already causes real one
|
|
||||||
// sendSyntheticConfigureNotify();
|
|
||||||
}
|
}
|
||||||
if( shape())
|
if( shape())
|
||||||
updateShape();
|
updateShape();
|
||||||
// SELI TODO won't this be too expensive?
|
// SELI TODO won't this be too expensive?
|
||||||
updateWorkareaDiffs();
|
updateWorkareaDiffs();
|
||||||
|
sendSyntheticConfigureNotify();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1188,12 +1187,11 @@ void Client::plainResize( int w, int h, ForceGeometry_t force )
|
||||||
XMoveResizeWindow( qt_xdisplay(), wrapperId(), clientPos().x(), clientPos().y(),
|
XMoveResizeWindow( qt_xdisplay(), wrapperId(), clientPos().x(), clientPos().y(),
|
||||||
cs.width(), cs.height());
|
cs.width(), cs.height());
|
||||||
XMoveResizeWindow( qt_xdisplay(), window(), 0, 0, cs.width(), cs.height());
|
XMoveResizeWindow( qt_xdisplay(), window(), 0, 0, cs.width(), cs.height());
|
||||||
// no need for real configure notify, XMoveResizeWindow() already causes real one
|
|
||||||
// sendSyntheticConfigureNotify();
|
|
||||||
}
|
}
|
||||||
if( shape())
|
if( shape())
|
||||||
updateShape();
|
updateShape();
|
||||||
updateWorkareaDiffs();
|
updateWorkareaDiffs();
|
||||||
|
sendSyntheticConfigureNotify();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue