summaryrefslogtreecommitdiff
path: root/libre/mc/0001-Ticket-3639-fix-window-resizing-when-panels-are-hidd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/mc/0001-Ticket-3639-fix-window-resizing-when-panels-are-hidd.patch')
-rw-r--r--libre/mc/0001-Ticket-3639-fix-window-resizing-when-panels-are-hidd.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/libre/mc/0001-Ticket-3639-fix-window-resizing-when-panels-are-hidd.patch b/libre/mc/0001-Ticket-3639-fix-window-resizing-when-panels-are-hidd.patch
new file mode 100644
index 000000000..c711ee55d
--- /dev/null
+++ b/libre/mc/0001-Ticket-3639-fix-window-resizing-when-panels-are-hidd.patch
@@ -0,0 +1,26 @@
+From 52871230a295311c286bb92feddc469e3ece11d6 Mon Sep 17 00:00:00 2001
+From: Andrew Borodin <aborodin@vmail.ru>
+Date: Mon, 13 Jun 2016 09:21:15 +0300
+Subject: [PATCH 1/2] Ticket #3639: fix window resizing when panels are hidden.
+
+This reverts commit f278eaec99320874b112b37d9925d78d964f5d37.
+---
+ src/subshell/common.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/subshell/common.c b/src/subshell/common.c
+index 6667b6e..98968fa 100644
+--- a/src/subshell/common.c
++++ b/src/subshell/common.c
+@@ -531,7 +531,7 @@ feed_subshell (int how, gboolean fail_on_error)
+ /* Despite using SA_RESTART, we still have to check for this */
+ if (errno == EINTR)
+ {
+- if (how == QUIETLY && mc_global.tty.winch_flag != 0)
++ if (mc_global.tty.winch_flag != 0)
+ tty_change_screen_size ();
+
+ continue; /* try all over again */
+--
+2.10.0
+