diff options
author | Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> | 2009-04-10 18:20:49 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2011-09-03 14:05:37 +0200 |
commit | 90049e98dbc0021cfc2b09550348d9ed7f28f37b (patch) | |
tree | 06a2fee0411a68f3238ede042c8d938f1f67bba5 /debian/patches/35screen_invoked_with_a_command.dpatch | |
parent | 1103e24d2a186a0355eda5742dfeba24cc961f88 (diff) | |
download | screen-90049e98dbc0021cfc2b09550348d9ed7f28f37b.tar.gz |
Imported Debian patch 4.0.3-13debian/4.0.3-13
Diffstat (limited to 'debian/patches/35screen_invoked_with_a_command.dpatch')
-rw-r--r-- | debian/patches/35screen_invoked_with_a_command.dpatch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/35screen_invoked_with_a_command.dpatch b/debian/patches/35screen_invoked_with_a_command.dpatch new file mode 100644 index 0000000..36a9474 --- /dev/null +++ b/debian/patches/35screen_invoked_with_a_command.dpatch @@ -0,0 +1,29 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 35screen_invoked_with_a_command.dpatch +## +## DP: Cherry-picked from upstream. +## DP: From 25c4f34d19c9f7d7262ef2a173238fdab7e283be Mon Sep 17 00:00:00 2001 +## DP: From: Sadrul Habib Chowdhury <sadrul@users.sourceforge.net> +## DP: Date: Mon, 26 Jan 2009 21:19:47 +0000 +## DP: Subject: Don't forget the startup command. + +## DP:Fixes savannah bug #25348, launchpad bug #311443. +## DP:--- +## DP:diff --git a/src/screen.c b/src/screen.c +## DP:index c914c59..7239560 100644 + +@DPATCH@ + +--- src/screen.c ++++ src/screen.c +@@ -1420,6 +1420,10 @@ char **av; + /* NOTREACHED */ + } + } ++ else if (ac) /* Screen was invoked with a command */ ++ { ++ MakeWindow(&nwin); ++ } + + #ifdef HAVE_BRAILLE + StartBraille(); |