mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
Remove HEARTBEAT #ifdef's
This commit is contained in:
@@ -906,13 +906,7 @@ void wDefaultsCheckDomains(void)
|
||||
WMPropList *dict;
|
||||
int i;
|
||||
|
||||
#ifdef HEARTBEAT
|
||||
puts("Checking domains...");
|
||||
#endif
|
||||
if (stat(WDWindowMaker->path, &stbuf) >= 0 && WDWindowMaker->timestamp < stbuf.st_mtime) {
|
||||
#ifdef HEARTBEAT
|
||||
puts("Checking WindowMaker domain");
|
||||
#endif
|
||||
WDWindowMaker->timestamp = stbuf.st_mtime;
|
||||
|
||||
/* global dictionary */
|
||||
@@ -951,9 +945,6 @@ void wDefaultsCheckDomains(void)
|
||||
}
|
||||
|
||||
if (stat(WDWindowAttributes->path, &stbuf) >= 0 && WDWindowAttributes->timestamp < stbuf.st_mtime) {
|
||||
#ifdef HEARTBEAT
|
||||
puts("Checking WMWindowAttributes domain");
|
||||
#endif
|
||||
/* global dictionary */
|
||||
shared_dict = readGlobalDomain("WMWindowAttributes", True);
|
||||
/* user dictionary */
|
||||
@@ -1008,9 +999,6 @@ void wDefaultsCheckDomains(void)
|
||||
|
||||
if (stat(WDRootMenu->path, &stbuf) >= 0 && WDRootMenu->timestamp < stbuf.st_mtime) {
|
||||
dict = WMReadPropListFromFile(WDRootMenu->path);
|
||||
#ifdef HEARTBEAT
|
||||
puts("Checking WMRootMenu domain");
|
||||
#endif
|
||||
if (dict) {
|
||||
if (!WMIsPLArray(dict) && !WMIsPLString(dict)) {
|
||||
WMReleasePropList(dict);
|
||||
|
||||
@@ -156,9 +156,6 @@ typedef struct {
|
||||
unsigned int SAVE_YOURSELF:1;
|
||||
/* WindowMaker specific */
|
||||
unsigned int MINIATURIZE_WINDOW:1;
|
||||
#ifdef MONITOR_HEARTBEAT
|
||||
unsigned int HEARTBEAT:1;
|
||||
#endif
|
||||
} WProtocols;
|
||||
|
||||
|
||||
@@ -243,9 +240,6 @@ typedef struct WWindow {
|
||||
|
||||
long event_mask; /* the event mask thats selected */
|
||||
|
||||
#ifdef MONITOR_HEARTBEAT
|
||||
time_t last_beat;
|
||||
#endif
|
||||
struct {
|
||||
/* state flags */
|
||||
unsigned int mapped:1;
|
||||
|
||||
Reference in New Issue
Block a user