Added the fine grained backlight hierarchy code.
Depending on how the server sets the backlight it controls the clients (if OPEN then the clients have individual control). If the client is set to open (inherited from the server) then each screen has backlight control.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include "clients.h"
|
||||
#include "client_data.h"
|
||||
#include "shared/debug.h"
|
||||
#include "render.h"
|
||||
|
||||
LinkedList *clients;
|
||||
|
||||
@@ -94,6 +95,7 @@ client_create (int sock)
|
||||
c->messages = NULL;
|
||||
|
||||
c->sock = sock;
|
||||
c->backlight_state = backlight; //By default we get the server setting
|
||||
|
||||
// Set up message list...
|
||||
c->messages = LL_new ();
|
||||
|
||||
Reference in New Issue
Block a user