search for: displaystr

Displaying 4 results from an estimated 4 matches for "displaystr".

Did you mean: displays
2007 Oct 12
1
[PATCH] Make runCommand() work with multiple screens.
...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, s->display->displayString); + displayString[len - 1] = '0' + s->screenNum; + setsid (); - putenv (s->display->displayString); + putenv (displayString); execl ("/bin/sh", "/bin/sh", "-c&...
2007 Oct 12
1
[PATCH] Start window decorator on all screens.
...0') + CompScreen *s; + + for (s = display->screens; s; s = s->next) { DECOR_SCREEN (display->screens); - /* run decorator command if no decorator is present on - first screen */ if (!ds->dmWin) - { - if (fork () == 0) - { - putenv (display->displayString); - execl ("/bin/sh", "/bin/sh", "-c", o->value.s, NULL); - exit (0); - } - } + runCommand (s, o->value.s); } return TRUE; -- 1.5.3.4 --------------060706030707010404000400--
2007 Apr 17
2
Querying channel variables via the Manager API
Hello list, we are developing a new application that uses the Manager API in order to find a set of channels where variables are set in a predefined way. To do this, we currently send a Status command to obtain all available channels and then query them all, one by one, fot the status of a certain dialplan variable. As you can imagine, this gets rapidly pretty tedious as the number of
2006 Feb 17
4
ssh x11 forwarding problem
I'm running into an a problem with x11 forwarding over ssh I'm trying to run an application (rasmol - molecule viewing program) which when using the the default setup for x11 forwarding causes the following error: X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 132 (MIT-SHM) Minor opcode of failed request: 1