From 28e5ed8ba95b54a1681ed1f752502d5931297fe6 Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Tue, 29 Feb 2000 19:45:54 +0000 Subject: [PATCH] Tue Feb 29 19:44:59 GMT 2000 (gilbertt) Hehe. Typo stopped the list skip thing being loaded from the .snaps.x file. Fixed. SVN revision: 2158 --- src/ChangeLog | 9 +++++++++ src/snaps.c | 11 ++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index b5d4b7c5..54865a8a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -4327,3 +4327,12 @@ Mon Feb 28 19:39:46 GMT 2000 64-bit fixes from Bob Arendt + +------------------------------------------------------------------------------- + +Tue Feb 29 19:44:59 GMT 2000 +(gilbertt) + +Hehe. Typo stopped the list skip thing being loaded from the .snaps.x file. +Fixed. + diff --git a/src/snaps.c b/src/snaps.c index 152c6b3c..5da41c40 100644 --- a/src/snaps.c +++ b/src/snaps.c @@ -1059,32 +1059,30 @@ LoadSnapInfo(void) word(buf, 2, s); sn->sticky = atoi(s); } - /* added by tom */ - else if (!strcmp(s, "SKIPFOCUS")) + else if (!strcmp(s, "SKIPFOCUS:")) { sn->use_skiplists = 1; word(buf, 2, s); sn->skipfocus = atoi(s); } - else if (!strcmp(s, "SKIPTASK")) + else if (!strcmp(s, "SKIPTASK:")) { sn->use_skiplists = 1; word(buf, 2, s); sn->skiptask = atoi(s); } - else if (!strcmp(s, "SKIPWINLIST")) + else if (!strcmp(s, "SKIPWINLIST:")) { sn->use_skiplists = 1; word(buf, 2, s); sn->skipwinlist = atoi(s); } - else if (!strcmp(s, "NEVERFOCUS")) + else if (!strcmp(s, "NEVERFOCUS:")) { sn->use_neverfocus = 1; word(buf, 2, s); sn->neverfocus = atoi(s); } - /***/ else if (!strcmp(s, "SHADE:")) { sn->use_shade = 1; @@ -1340,7 +1338,6 @@ MatchEwinToSnapInfoAfter(EWin * ewin) } if (sn->use_neverfocus) ewin->neverfocus = sn->neverfocus; - /***/ if (sn->use_shade) { if (sn->shade)