X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/199a6016114875656102d11e79a80939bfaff3b3..39ae286861b7e23f6de0ee290e48bda695c1e881:/event.c diff --git a/event.c b/event.c index f9d2e0c..8eaff1a 100644 --- a/event.c +++ b/event.c @@ -1,5 +1,7 @@ /* © 2006-2007 Anselm R. Garbe * © 2006-2007 Sander van Dijk + * © 2007 Premysl Hruby + * © 2007 Szabolcs Nagy * See LICENSE file for license details. */ #include "dwm.h" #include @@ -242,7 +244,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;