From c3f13b55db728411428c081c5ec05a72c7738472 Mon Sep 17 00:00:00 2001
From: Alexander Golubev <fatzer2@gmail.com>
Date: Tue, 9 Jun 2026 22:14:30 +0300
Subject: Revert "twin: use separate bit to inhibit configure request messages.
 This resolves issue #434."

This reverts commit f5bdd235fc583f6674581df993165b9e7ae8774c.

This were fixing an issue introduced by a9bd5b50e9 and no longer needed
due to it will be reverted next.

Note: Some bits a left behind for the sake of binary compat.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
---
 twin/client.cpp   | 3 +--
 twin/client.h     | 2 +-
 twin/events.cpp   | 2 +-
 twin/geometry.cpp | 2 +-
 4 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/twin/client.cpp b/twin/client.cpp
index e273b6f02..af5192e8c 100644
--- a/twin/client.cpp
+++ b/twin/client.cpp
@@ -99,7 +99,6 @@ Client::Client( Workspace *ws )
         decoration( NULL ),
         wspace( ws ),
         bridge( new Bridge( this )),
-        inhibitConfigureRequests(false),
         move_faked_activity( false ),
         move_resize_grab_window( None ),
         transient_for( NULL ),
@@ -984,7 +983,7 @@ void Client::setShade( ShadeMode mode )
 
 void Client::configureRequestTimeout()
     {
-    inhibitConfigureRequests = false;
+    moveResizeMode = false;
     sendSyntheticConfigureNotify();
     }
 
diff --git a/twin/client.h b/twin/client.h
index bc29da7d6..31612383b 100644
--- a/twin/client.h
+++ b/twin/client.h
@@ -495,7 +495,7 @@ class Client : public TQObject, public KDecorationDefines
         int desk;
         bool buttonDown;
         bool moveResizeMode;
-        bool inhibitConfigureRequests;
+        bool inhibitConfigureRequests; //< BCI: remove me
         bool move_faked_activity;
         Window move_resize_grab_window;
         bool unrestrictedMoveResize;
diff --git a/twin/events.cpp b/twin/events.cpp
index aaa37effc..904cbc30e 100644
--- a/twin/events.cpp
+++ b/twin/events.cpp
@@ -785,7 +785,7 @@ void Client::configureRequestEvent( XConfigureRequestEvent* e )
     {
     if( e->window != window())
         return; // ignore frame/wrapper
-    if ( isResize() || isMove() || inhibitConfigureRequests)
+    if ( isResize() || isMove())
         {
         // Send a synthetic configure notification to make sure the
         // window contents get updated by the application
diff --git a/twin/geometry.cpp b/twin/geometry.cpp
index bf8dfeee3..9c9974c10 100644
--- a/twin/geometry.cpp
+++ b/twin/geometry.cpp
@@ -1451,7 +1451,7 @@ const TQPoint Client::calculateGravitation( bool invert, int gravity ) const
 
 void Client::configureRequest( int value_mask, int rx, int ry, int rw, int rh, int gravity, bool from_tool )
     {
-    inhibitConfigureRequests = true;
+    moveResizeMode = true;
     configureRequestTimer->start(100, true);
     if( gravity == 0 ) // default (nonsense) value for the argument
         gravity = xSizeHint.win_gravity;
-- 
cgit v1.2.3

