diff options
| author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-14 10:34:07 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-14 10:34:07 +0200 |
| commit | 6458d72572a30d2cc4af3385755033b2cca93057 (patch) | |
| tree | 158be70ab7a84b729a66f0532c08aa7b336db217 /event.c | |
| parent | implemented bar for dwm (I miss status text), I plan that status text is read... (diff) | |
| download | dwm-6458d72572a30d2cc4af3385755033b2cca93057.tar.gz dwm-6458d72572a30d2cc4af3385755033b2cca93057.zip | |
made barclick to select the specific tag
Diffstat (limited to 'event.c')
| -rw-r--r-- | event.c | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -50,7 +50,9 @@ buttonpress(XEvent *e) | |||
| 50 | XButtonPressedEvent *ev = &e->xbutton; | 50 | XButtonPressedEvent *ev = &e->xbutton; |
| 51 | Client *c; | 51 | Client *c; |
| 52 | 52 | ||
| 53 | if((c = getclient(ev->window))) { | 53 | if(barwin == ev->window) |
| 54 | barclick(ev); | ||
| 55 | else if((c = getclient(ev->window))) { | ||
| 54 | craise(c); | 56 | craise(c); |
| 55 | switch(ev->button) { | 57 | switch(ev->button) { |
| 56 | default: | 58 | default: |
