Event: Fix first if in enternotify.

This commit is contained in:
Martin Duquesnoy 2009-03-28 19:20:28 +01:00
parent a3f144f642
commit 3441a5ca67
2 changed files with 3 additions and 4 deletions

View File

@ -325,9 +325,9 @@ enternotify(XCrossingEvent *ev)
Client *c;
int n;
if((ev->mode != NotifyNormal))
// || ev->detail == NotifyInferior)
// && ev->window != ROOT)
if((ev->mode != NotifyNormal
|| ev->detail == NotifyInferior)
&& ev->window != ROOT)
return;
if((c = client_gb_win(ev->window))

View File

@ -234,7 +234,6 @@ char* alias_to_str(char *conf_choice);
/* }}} */
XRectangle get_mouse_pos(void);
void spawn(const char *str, ...);
Pixmap get_root_pixmap(void);
void uicb_spawn(uicb_t);
/* tag.c */