|
From: <mla...@us...> - 2008-01-22 09:14:59
|
Revision: 440
http://g15daemon.svn.sourceforge.net/g15daemon/?rev=440&view=rev
Author: mlampard
Date: 2008-01-22 01:15:04 -0800 (Tue, 22 Jan 2008)
Log Message:
-----------
g15daemon 1.9x: add display thread notification on state change.
Modified Paths:
--------------
trunk/g15daemon-wip/g15daemon/utility_funcs.c
Modified: trunk/g15daemon-wip/g15daemon/utility_funcs.c
===================================================================
--- trunk/g15daemon-wip/g15daemon/utility_funcs.c 2008-01-22 08:53:30 UTC (rev 439)
+++ trunk/g15daemon-wip/g15daemon/utility_funcs.c 2008-01-22 09:15:04 UTC (rev 440)
@@ -85,7 +85,7 @@
struct timeval t;
gettimeofday(&t,NULL);
lcd->ident=t.tv_usec+random();
- if(lcd==lcd->masterlist->current->lcd)
+ if(lcd==lcd->masterlist->current->lcd||lcd->state_changed)
pthread_cond_broadcast(&lcd_refresh);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|