all repos — dwm @ 8f052596b2c79e74c0e47b93595f13a754b3e2ef

my dwm build

crash fix
Anselm R Garbe garbeam@gmail.com
Wed, 11 Jun 2008 19:42:24 +0100
commit

8f052596b2c79e74c0e47b93595f13a754b3e2ef

parent

9463d5354bc57d0c0086b7328196d7af60ed706d

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M dwm.cdwm.c

@@ -1478,7 +1478,7 @@ }

void togglelayout(const Arg *arg) { - if(arg->v) + if(arg && arg->v) lt = (Layout *)arg->v; else if(++lt == &layouts[LENGTH(layouts)]) lt = &layouts[0];