diff options
author | Michele Calgaro <[email protected]> | 2023-11-17 18:56:13 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-26 17:49:51 +0900 |
commit | df3439920c8464295b6f15128e2b62bc1eed8f43 (patch) | |
tree | 43813caab4b29fbed41df376f46b00c263cd3c90 /twin/client.h | |
parent | 71b2eaec0969200f80450667fb08b7602f669b2e (diff) | |
download | tdebase-df3439920c8464295b6f15128e2b62bc1eed8f43.tar.gz tdebase-df3439920c8464295b6f15128e2b62bc1eed8f43.zip |
Fix unwanted window resizing. This resolves issue TDE/tde#57.
Some applications (like xfce4-terminal) try to manage their sizes by requesting the window manager a different size. The WM responds by resizing the window and the application tries once again to adjust its own size. This can lead to a repeated loop of request-resize which results in the application window to either shrink to the minimum allowed size or expand to the display size.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit a9bd5b50e9b77b8b360dd3620013a320733139aa)
Diffstat (limited to 'twin/client.h')
-rw-r--r-- | twin/client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/twin/client.h b/twin/client.h index 98ff68c1a..00703608d 100644 --- a/twin/client.h +++ b/twin/client.h @@ -339,6 +339,7 @@ class Client : public TQObject, public KDecorationDefines private slots: void autoRaise(); void shadeHover(); + void configureRequestTimeout(); void shortcutActivated(); void updateOpacityCache(); @@ -558,6 +559,7 @@ class Client : public TQObject, public KDecorationDefines WinInfo* info; TQTimer* autoRaiseTimer; TQTimer* shadeHoverTimer; + TQTimer* configureRequestTimer; Colormap cmap; TQCString resource_name; TQCString resource_class; |