diff options
author | Michele Calgaro <[email protected]> | 2023-12-01 21:44:51 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-01 21:57:20 +0900 |
commit | 5590077e66774b629235516744993014360c3d25 (patch) | |
tree | 56db96746ddb57385b7f8cba562968ebe69dc3ea /twin | |
parent | b6f9aaf3c380569e7608e13863dfd2693f21ed04 (diff) | |
download | tdebase-5590077e66774b629235516744993014360c3d25.tar.gz tdebase-5590077e66774b629235516744993014360c3d25.zip |
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 <[email protected]>
Diffstat (limited to 'twin')
-rw-r--r-- | twin/events.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/twin/events.cpp b/twin/events.cpp index ff0cc8e7c..0c08d102e 100644 --- a/twin/events.cpp +++ b/twin/events.cpp @@ -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 |