diff options
Diffstat (limited to 'event.c')
| -rw-r--r-- | event.c | 13 |
1 files changed, 0 insertions, 13 deletions
| @@ -146,18 +146,6 @@ buttonpress(XEvent *e) | |||
| 146 | } | 146 | } |
| 147 | 147 | ||
| 148 | static void | 148 | static void |
| 149 | clientmessage(XEvent *e) | ||
| 150 | { | ||
| 151 | Client *c; | ||
| 152 | XClientMessageEvent *ev = &e->xclient; | ||
| 153 | |||
| 154 | if(ev->message_type == netatom[NetActiveWindow]) { | ||
| 155 | if((c = getclient(ev->window)) && c->tags[tsel]) | ||
| 156 | focus(c); | ||
| 157 | } | ||
| 158 | } | ||
| 159 | |||
| 160 | static void | ||
| 161 | configurerequest(XEvent *e) | 149 | configurerequest(XEvent *e) |
| 162 | { | 150 | { |
| 163 | Client *c; | 151 | Client *c; |
| @@ -351,7 +339,6 @@ unmapnotify(XEvent *e) | |||
| 351 | 339 | ||
| 352 | void (*handler[LASTEvent]) (XEvent *) = { | 340 | void (*handler[LASTEvent]) (XEvent *) = { |
| 353 | [ButtonPress] = buttonpress, | 341 | [ButtonPress] = buttonpress, |
| 354 | [ClientMessage] = clientmessage, | ||
| 355 | [ConfigureRequest] = configurerequest, | 342 | [ConfigureRequest] = configurerequest, |
| 356 | [DestroyNotify] = destroynotify, | 343 | [DestroyNotify] = destroynotify, |
| 357 | [EnterNotify] = enternotify, | 344 | [EnterNotify] = enternotify, |
