Added the client_function timeout to the code.
Also noticed a BIG bug in the screen_set code, the strcmp's never worked, they where no longer checking the results == 0.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include "main.h"
|
||||
|
||||
int default_duration = 0;
|
||||
int default_timeout = -1;
|
||||
|
||||
screen *
|
||||
screen_create ()
|
||||
@@ -36,6 +37,7 @@ screen_create ()
|
||||
s->keys = NULL;
|
||||
s->parent = NULL;
|
||||
s->widgets = NULL;
|
||||
s->timeout = default_timeout; //ignored unless greater than 0.
|
||||
|
||||
s->widgets = LL_new ();
|
||||
if (!s->widgets) {
|
||||
|
||||
Reference in New Issue
Block a user