Mercurial > aewl
comparison client.c @ 272:be40a56df248
fixed a core dump
author | Anselm R.Garbe <arg@10ksloc.org> |
---|---|
date | Mon, 14 Aug 2006 10:49:22 +0200 |
parents | dacd3f3c5823 |
children | 134804791d73 |
comparison
equal
deleted
inserted
replaced
271:e9dc5a9f9480 | 272:be40a56df248 |
---|---|
50 focus(Client *c) | 50 focus(Client *c) |
51 { | 51 { |
52 if (!issel) | 52 if (!issel) |
53 return; | 53 return; |
54 Client *old = sel; | 54 Client *old = sel; |
55 XEvent ev; | |
56 | 55 |
57 sel = c; | 56 sel = c; |
58 if(old && old != c) | 57 if(old && old != c) |
59 drawtitle(old); | 58 drawtitle(old); |
60 drawtitle(c); | 59 drawtitle(c); |