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

@ -457,6 +457,7 @@ client_winsize(struct client *c, struct geo *g, struct geo *ret)
client_geo_hints(ret, (int*)c->sizeh);
/* Check possible problem for tile integration */
if(ret->h > g->h || ret->w > g->w)
return true;

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);
}