X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=event.c;h=ce23e416e1441b8d23cd4749bdd0acebabf101e7;hp=d8633c5631dfbc6eb2a3dc48b409c7247d3fb29d;hb=d934296476be7345842fec1a2630d1752c704078;hpb=e1deda9e040c052af62aecc2fb4ee770fb2496a2 diff --git a/event.c b/event.c index d8633c5..ce23e41 100644 --- a/event.c +++ b/event.c @@ -1,6 +1,8 @@ /* © 2006-2007 Anselm R. Garbe * © 2006-2007 Sander van Dijk + * © 2006-2007 Jukka Salmi * © 2007 Premysl Hruby + * © 2007 Szabolcs Nagy * See LICENSE file for license details. */ #include "dwm.h" #include @@ -243,7 +245,7 @@ enternotify(XEvent *e) { if(ev->mode != NotifyNormal || ev->detail == NotifyInferior) return; - if(c = getclient(ev->window)) + if((c = getclient(ev->window))) focus(c); else if(ev->window == root) { selscreen = True;