Displaying 1 result from an estimated 1 matches for "9fc03998".
2007 Oct 12
1
[PATCH] Make runCommand() work with multiple screens.
---
src/screen.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/screen.c b/src/screen.c
index 41f031e..9fa2a11 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -3282,8 +3282,13 @@ runCommand (CompScreen *s,
if (fork () == 0)
{
+ size_t len = strlen (s->display->displayString);
+ char displayString[len + 16];
+ strcpy (displayString,