forked from e16/e16
1
0
Fork 0

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
This commit is contained in:
Tom Gilbert 2000-02-29 19:45:54 +00:00
parent 5efa927d8c
commit 28e5ed8ba9
2 changed files with 13 additions and 7 deletions

View File

@ -4327,3 +4327,12 @@ Mon Feb 28 19:39:46 GMT 2000
64-bit fixes from Bob Arendt <rdarendt@cwcom.net> 64-bit fixes from Bob Arendt <rdarendt@cwcom.net>
-------------------------------------------------------------------------------
Tue Feb 29 19:44:59 GMT 2000
(gilbertt)
Hehe. Typo stopped the list skip thing being loaded from the .snaps.x file.
Fixed.

View File

@ -1059,32 +1059,30 @@ LoadSnapInfo(void)
word(buf, 2, s); word(buf, 2, s);
sn->sticky = atoi(s); sn->sticky = atoi(s);
} }
/* added by tom */ else if (!strcmp(s, "SKIPFOCUS:"))
else if (!strcmp(s, "SKIPFOCUS"))
{ {
sn->use_skiplists = 1; sn->use_skiplists = 1;
word(buf, 2, s); word(buf, 2, s);
sn->skipfocus = atoi(s); sn->skipfocus = atoi(s);
} }
else if (!strcmp(s, "SKIPTASK")) else if (!strcmp(s, "SKIPTASK:"))
{ {
sn->use_skiplists = 1; sn->use_skiplists = 1;
word(buf, 2, s); word(buf, 2, s);
sn->skiptask = atoi(s); sn->skiptask = atoi(s);
} }
else if (!strcmp(s, "SKIPWINLIST")) else if (!strcmp(s, "SKIPWINLIST:"))
{ {
sn->use_skiplists = 1; sn->use_skiplists = 1;
word(buf, 2, s); word(buf, 2, s);
sn->skipwinlist = atoi(s); sn->skipwinlist = atoi(s);
} }
else if (!strcmp(s, "NEVERFOCUS")) else if (!strcmp(s, "NEVERFOCUS:"))
{ {
sn->use_neverfocus = 1; sn->use_neverfocus = 1;
word(buf, 2, s); word(buf, 2, s);
sn->neverfocus = atoi(s); sn->neverfocus = atoi(s);
} }
/***/
else if (!strcmp(s, "SHADE:")) else if (!strcmp(s, "SHADE:"))
{ {
sn->use_shade = 1; sn->use_shade = 1;
@ -1340,7 +1338,6 @@ MatchEwinToSnapInfoAfter(EWin * ewin)
} }
if (sn->use_neverfocus) if (sn->use_neverfocus)
ewin->neverfocus = sn->neverfocus; ewin->neverfocus = sn->neverfocus;
/***/
if (sn->use_shade) if (sn->use_shade)
{ {
if (sn->shade) if (sn->shade)