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:
1 parent
a6fec90312
commit
853d9053dd
7 files changed
+74
-32
No files matched your search
@@ -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