minor commit

This commit is contained in:
Martin Duquesnoy
2011-10-08 17:41:19 +02:00
parent 41882b4a7e
commit 49a0791e7a
2 changed files with 2 additions and 1 deletions

View File

@@ -199,7 +199,7 @@ event_motionnotify(XEvent *e)
* Check client window and tag frame to get focused
* window with mouse motion
*/
if(((c = client_gb_win(ev->subwindow)) && c != c->tag->sel)
if((c = client_gb_win(ev->subwindow))
|| (ev->window == t->frame && ((c = client_gb_pos(t, ev->x, ev->y)))))
client_focus(c);
}