diff -urN rxvt-unicode-9.31-orig/config.h.in rxvt-unicode-9.31/config.h.in
--- rxvt-unicode-9.31-orig/config.h.in	2021-07-24 05:57:20 +0900
+++ rxvt-unicode-9.31/config.h.in	2023-11-15 18:43:10 +0900
@@ -18,6 +18,9 @@
 /* Define if you want your background to use the parent window background */
 #undef ENABLE_TRANSPARENCY
 
+/* Define to enable CSI t window ops */
+#undef ENABLE_WINDOW_OPS
+
 /* Define if you want european extended codesets */
 #undef ENCODING_EU
 
diff -urN rxvt-unicode-9.31-orig/configure.ac rxvt-unicode-9.31/configure.ac
--- rxvt-unicode-9.31-orig/configure.ac	2023-01-03 02:11:06 +0900
+++ rxvt-unicode-9.31/configure.ac	2023-11-15 18:49:48 +0900
@@ -70,6 +70,7 @@
 AC_SEARCH_LIBS(socket,        socket)
 
 support_frills=yes
+support_window_ops=no
 support_inheritpixmap=yes
 support_fading=yes
 support_keepscrolling=yes
@@ -103,6 +104,7 @@
   [
     if test x$enableval = xno; then
        support_frills=no
+       support_window_ops=no
        support_inheritpixmap=no
        support_fading=no
        support_keepscrolling=no
@@ -128,6 +130,7 @@
     fi
     if test x$enableval = xyes; then
        support_frills=yes
+       support_window_ops=yes
        support_inheritpixmap=yes
        support_fading=yes
        support_keepscrolling=yes
@@ -355,6 +358,12 @@
     support_frills=$enableval
   fi])
 
+AC_ARG_ENABLE(window-ops,
+  [  --enable-window-ops     enable support for CSI t window ops],
+  [if test x$enableval = xyes -o x$enableval = xno; then
+    support_window_ops=$enableval
+  fi])
+
 AC_ARG_ENABLE(keepscrolling,
   [  --enable-keepscrolling  enable continual scrolling on scrollbar arrow press],
   [if test x$enableval = xyes -o x$enableval = xno; then
@@ -661,6 +670,9 @@
 if test x$support_frills = xyes; then
   AC_DEFINE(ENABLE_FRILLS, 1, Define if you want handling for rarely used but handy features)
 fi
+if test x$support_window_ops = xyes; then
+  AC_DEFINE(ENABLE_WINDOW_OPS, 1, Define to enable CSI t window ops)
+fi
 if test x$support_mousewheel = xyes; then
   AC_DEFINE(MOUSE_WHEEL, 1, Define to use wheel events (button4 and button5) to scroll)
 fi
diff -urN rxvt-unicode-9.31-orig/configure rxvt-unicode-9.31/configure
--- rxvt-unicode-9.31-orig/configure	2023-01-03 07:40:04 +0900
+++ rxvt-unicode-9.31/configure	2023-11-15 18:49:56 +0900
@@ -759,6 +759,7 @@
 enable_swapscreen
 enable_iso14755
 enable_frills
+enable_window_ops
 enable_keepscrolling
 enable_selectionscrolling
 enable_mousewheel
@@ -1429,6 +1430,7 @@
   --disable-swapscreen    disable swap screen support
   --enable-iso14755       enable support for extended ISO 14755 modes
   --enable-frills         enable support for rarely used features
+  --enable-window-ops     enable support for CSI t window ops
   --enable-keepscrolling  enable continual scrolling on scrollbar arrow press
   --enable-selectionscrolling  enable scrolling during selections
   --enable-mousewheel     enable scrolling via mouse wheel or buttons 4 & 5
@@ -4973,6 +4975,7 @@
 
 
 support_frills=yes
+support_window_ops=no
 support_inheritpixmap=yes
 support_fading=yes
 support_keepscrolling=yes
@@ -5003,6 +5006,7 @@
   enableval=$enable_everything;
     if test x$enableval = xno; then
        support_frills=no
+       support_window_ops=no
        support_inheritpixmap=no
        support_fading=no
        support_keepscrolling=no
@@ -5028,6 +5032,7 @@
     fi
     if test x$enableval = xyes; then
        support_frills=yes
+       support_window_ops=yes
        support_inheritpixmap=yes
        support_fading=yes
        support_keepscrolling=yes
@@ -5380,6 +5385,15 @@
 fi
 
 
+# Check whether --enable-window-ops was given.
+if test ${enable_window_ops+y}
+then :
+  enableval=$enable_window_ops; if test x$enableval = xyes -o x$enableval = xno; then
+    support_window_ops=$enableval
+  fi
+fi
+
+
 # Check whether --enable-keepscrolling was given.
 if test ${enable_keepscrolling+y}
 then :
@@ -7700,6 +7714,11 @@
 printf "%s\n" "#define ENABLE_FRILLS 1" >>confdefs.h
 
 fi
+if test x$support_window_ops = xyes; then
+
+printf "%s\n" "#define ENABLE_WINDOW_OPS 1" >>confdefs.h
+
+fi
 if test x$support_mousewheel = xyes; then
 
 printf "%s\n" "#define MOUSE_WHEEL 1" >>confdefs.h
diff -urN rxvt-unicode-9.31-orig/src/command.C rxvt-unicode-9.31/src/command.C
--- rxvt-unicode-9.31-orig/src/command.C	2022-12-24 06:36:57 +0900
+++ rxvt-unicode-9.31/src/command.C	2023-11-15 18:45:45 +0900
@@ -3099,7 +3099,7 @@
         scr_cursor (RESTORE);
         break;
 
-#if !ENABLE_MINIMAL
+#if ENABLE_WINDOW_OPS
       case CSI_74:
         process_window_ops (arg, nargs);
         break;
@@ -3116,7 +3116,7 @@
 }
 /*}}} */
 
-#if !ENABLE_MINIMAL
+#if ENABLE_WINDOW_OPS
 void
 rxvt_term::process_window_ops (const int *args, unsigned int nargs)
 {
