twin: makes sure to notify an application on resizing events so that the window contents can get updated. This is particularly important for Virtual Terminal based application. This resolves issue TDE/tde#57 and issue #384.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/431/head
Michele Calgaro 5 months ago
parent b6f9aaf3c3
commit 5590077e66
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -786,7 +786,12 @@ void Client::configureRequestEvent( XConfigureRequestEvent* e )
if( e->window != window())
return; // ignore frame/wrapper
if ( isResize() || isMove())
{
// Send a synthetic configure notification to make sure the
// window contents get updated by the application
sendSyntheticConfigureNotify();
return; // we have better things to do right now
}
if( fullscreen_mode == FullScreenNormal ) // refuse resizing of fullscreen windows
{ // but allow resizing fullscreen hacks in order to let them cancel fullscreen mode

Loading…
Cancel
Save