Alopex

Check-in [c90db36f03]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:fixed killclient
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | master
Files: files | file ages | folders
SHA3-256: c90db36f037a53bfdf54501bad17b022f49d4246432c06cff3214c0131c545aa
User & Date: jesse@mccluresk9.com 2014-03-21 19:15:52
Context
2014-03-22
20:38
bug notices check-in: f91e410e45 user: jesse@mccluresk9.com tags: trunk, master
2014-03-21
19:15
fixed killclient check-in: c90db36f03 user: jesse@mccluresk9.com tags: trunk, master
2014-03-20
20:49
fixed window marking check-in: 6dda45587d user: jesse@mccluresk9.com tags: trunk, master
Changes

Changes to src/actions.c.

116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
				winmarks[1] = a;
			}
		}
	}
}

void killclient(Client *c, const char **arg) {
	if (!c) return;
	send_message(c, WM_PROTOCOLS, WM_DELETE_WINDOW);
}

void layout(Client *c, const char **arg) {
	if (!arg[0]) { if ( (++m->mode) == LAST_MODE ) m->mode = 0; }
	else if (strncasecmp(arg[0],"rst",3)==0) m->mode = RSTACK;
	else if (strncasecmp(arg[0],"bst",3)==0) m->mode = BSTACK;







|







116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
				winmarks[1] = a;
			}
		}
	}
}

void killclient(Client *c, const char **arg) {
	if (!c && !(c=winmarks[1])) return;
	send_message(c, WM_PROTOCOLS, WM_DELETE_WINDOW);
}

void layout(Client *c, const char **arg) {
	if (!arg[0]) { if ( (++m->mode) == LAST_MODE ) m->mode = 0; }
	else if (strncasecmp(arg[0],"rst",3)==0) m->mode = RSTACK;
	else if (strncasecmp(arg[0],"bst",3)==0) m->mode = BSTACK;